We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43c2e84 commit 635c9e4Copy full SHA for 635c9e4
1 file changed
driver/others/blas_server.c
@@ -571,6 +571,9 @@ int blas_thread_init(void){
571
atomic_store_queue(&thread_status[i].queue, (blas_queue_t *)0);
572
thread_status[i].status = THREAD_STATUS_WAKEUP;
573
574
+ pthread_mutex_init(&thread_status[i].lock, NULL);
575
+ pthread_cond_init (&thread_status[i].wakeup, NULL)
576
+
577
#ifdef NEED_STACKATTR
578
ret=pthread_create(&blas_threads[i], &attr,
579
&blas_thread_server, (void *)i);
0 commit comments