give more priority to socketnotifiers(fd's) in mainloop
[enigma2.git] / lib / base / thread.cpp
index ceb50bfe350c3dbab479f9150f066ebdfff3f024..8dded28ab9de8dc4474bd9c11ba60c452534153b 100644 (file)
@@ -15,6 +15,8 @@ void eThread::thread_completed(void *ptr)
                p->m_state.up();
                assert(p->m_state.value() == 1);
        }
+
+       p->thread_finished();
 }
 
 void *eThread::wrapper(void *ptr)