commtech bench: BUGFIX of initialization
* Initialization can be blocking
This commit is contained in:
parent
8f352457a0
commit
d8b88b0e7f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue