aboutsummaryrefslogtreecommitdiff
path: root/lib/base/thread.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-03 10:47:52 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-03 10:47:52 +0000
commitdf88846fa78ebe40f935e0486462af0fc0ea81e9 (patch)
tree886a9ea538e51656265e98440b32a1b08d657028 /lib/base/thread.h
parent2702c8f3dd44e91878013dc2ce552526e90046ba (diff)
downloadenigma2-df88846fa78ebe40f935e0486462af0fc0ea81e9.tar.gz
enigma2-df88846fa78ebe40f935e0486462af0fc0ea81e9.zip
add possibility to do things after thread start.. but before setting the thread to alive
Diffstat (limited to 'lib/base/thread.h')
-rw-r--r--lib/base/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base/thread.h b/lib/base/thread.h
index f6c750af..94cdd47e 100644
--- a/lib/base/thread.h
+++ b/lib/base/thread.h
@@ -18,6 +18,7 @@ public:
void run(int prio=0, int policy=0);
virtual void thread()=0;
+ virtual void before_set_thread_alive() { }
virtual void thread_finished() { }
void sendSignal(int sig);