Commit fcb79e1b authored by andrey@example.com's avatar andrey@example.com

Fix an assert on AIX 5.2, 64bit. COND_queue_state wasn't

initialized prior to usage as well as deinitialized on shutdown.
parent 850ac2e8
......@@ -101,6 +101,7 @@ void
Event_queue::init_mutexes()
{
pthread_mutex_init(&LOCK_event_queue, MY_MUTEX_INIT_FAST);
pthread_cond_init(&COND_queue_state, NULL);
}
......@@ -115,6 +116,7 @@ void
Event_queue::deinit_mutexes()
{
pthread_mutex_destroy(&LOCK_event_queue);
pthread_cond_destroy(&COND_queue_state);
}
......
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