Commit b8ac729f authored by iggy@recycle.(none)'s avatar iggy@recycle.(none)

Merge recycle.(none):/src/bug25621/my50-bug25621

into  recycle.(none):/src/bug25621/my51-bug25621
parents 1de28a11 30d6cf31
...@@ -3604,8 +3604,9 @@ void decrement_handler_count() ...@@ -3604,8 +3604,9 @@ void decrement_handler_count()
{ {
pthread_mutex_lock(&LOCK_thread_count); pthread_mutex_lock(&LOCK_thread_count);
handler_count--; handler_count--;
pthread_mutex_unlock(&LOCK_thread_count);
pthread_cond_signal(&COND_handler_count); pthread_cond_signal(&COND_handler_count);
pthread_mutex_unlock(&LOCK_thread_count);
my_thread_end();
} }
#else #else
#define decrement_handler_count() #define decrement_handler_count()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment