add possibility to do things after thread start.. but before setting the thread to...
[vuplus_dvbapp] / lib / base / thread.cpp
index 7a43a7b..b64ba13 100644 (file)
@@ -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();