Commit 2a5d679c authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime

into  mockturtle.local:/home/dlenev/src/mysql-5.1-rt-merge
parents 9b47d34a b5dbd682
...@@ -101,6 +101,7 @@ void ...@@ -101,6 +101,7 @@ void
Event_queue::init_mutexes() Event_queue::init_mutexes()
{ {
pthread_mutex_init(&LOCK_event_queue, MY_MUTEX_INIT_FAST); pthread_mutex_init(&LOCK_event_queue, MY_MUTEX_INIT_FAST);
pthread_cond_init(&COND_queue_state, NULL);
} }
...@@ -115,6 +116,7 @@ void ...@@ -115,6 +116,7 @@ void
Event_queue::deinit_mutexes() Event_queue::deinit_mutexes()
{ {
pthread_mutex_destroy(&LOCK_event_queue); 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