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.cpp
diff --git
a/lib/base/thread.cpp
b/lib/base/thread.cpp
index 7a43a7bb22bf43548caa3b164a0c91edb7402539..b64ba1365bfb2376e69e36ce1da73ffb1614c4bc 100644
(file)
--- a/
lib/base/thread.cpp
+++ b/
lib/base/thread.cpp
@@
-15,6
+15,7
@@
void eThread::thread_completed(void *ptr)
void *eThread::wrapper(void *ptr)
{
eThread *p = (eThread*)ptr;
+ p->before_set_thread_alive();
p->alive=1;
pthread_cleanup_push( thread_completed, (void*)p );
p->thread();