1 --- a/src/thread_base.cc 2010-01-26 09:40:34.000000000 +0300
2 +++ b/src/thread_base.cc 2010-01-31 18:38:25.000000000 +0300
5 ThreadBase::queue_item(thread_base_func newFunc) {
6 m_threadQueue->push_back(newFunc);
7 - pthread_kill(m_thread, SIGUSR1);
8 + if(m_thread != NULL) pthread_kill(m_thread, SIGUSR1);