git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add possibility to do things after thread start.. but before setting the thread to...
[enigma2.git]
/
lib
/
base
/
thread.h
diff --git
a/lib/base/thread.h
b/lib/base/thread.h
index f6c750aff53894aabac7578042ff463437e7facd..94cdd47e66c3721c43b27ec0146b8cbad6fff231 100644
(file)
--- 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);