f39b4c249f
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19499 3c298f89-4303-0410-b956-a3cf2f4a3e73
10 lines
334 B
Diff
10 lines
334 B
Diff
--- a/src/thread_base.cc 2010-01-26 09:40:34.000000000 +0300
|
|
+++ b/src/thread_base.cc 2010-01-31 18:38:25.000000000 +0300
|
|
@@ -191,5 +191,5 @@
|
|
void
|
|
ThreadBase::queue_item(thread_base_func newFunc) {
|
|
m_threadQueue->push_back(newFunc);
|
|
- pthread_kill(m_thread, SIGUSR1);
|
|
+ if(m_thread != NULL) pthread_kill(m_thread, SIGUSR1);
|
|
}
|