commtech bench: BUGFIX of initialization

* Initialization can be blocking
This commit is contained in:
Thomas Preud'homme 2009-06-18 18:33:12 +02:00 committed by Thomas Preud'homme
parent 8f352457a0
commit d8b88b0e7f
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ void init_producer_thread(void)
init_thread_comm(&tcomms[i_local]);
pthread_mutex_lock(&init_lock);
init = 1;
pthread_cond_signal(&init_cond);
pthread_mutex_unlock(&init_lock);
}