Restore initializers for mutex and conditional
@@ -571,6 +571,9 @@ int blas_thread_init(void){
atomic_store_queue(&thread_status[i].queue, (blas_queue_t *)0);
thread_status[i].status = THREAD_STATUS_WAKEUP;
+ pthread_mutex_init(&thread_status[i].lock, NULL);
+ pthread_cond_init (&thread_status[i].wakeup, NULL)
+
#ifdef NEED_STACKATTR
ret=pthread_create(&blas_threads[i], &attr,
&blas_thread_server, (void *)i);
