diff --git a/src/conio/cterm.c b/src/conio/cterm.c index 891591b18c1f03be0929c37f216467f395fde8ac..2445d13d00913b460cff156bc678855bdc5dbf7c 100644 --- a/src/conio/cterm.c +++ b/src/conio/cterm.c @@ -1154,7 +1154,7 @@ void cterm_init(int height, int width, int xpos, int ypos, int backlines, unsign } /* Fire up note playing thread */ if(!playnote_thread_running) { - listInit(¬es, LINK_LIST_SEMAPHORE); + listInit(¬es, LINK_LIST_SEMAPHORE|LINK_LIST_MUTEX); sem_init(¬e_completed_sem,0,0); sem_init(&playnote_thread_terminated,0,0); _beginthread(playnote_thread, 0, NULL);