| 562 | |
| 563 | |
| 564 | PUBLIC void* csoundCreateCondVar() |
| 565 | { |
| 566 | pthread_cond_t* condVar = (pthread_cond_t*)malloc(sizeof(pthread_cond_t)); |
| 567 | |
| 568 | if (condVar != NULL) |
| 569 | pthread_cond_init(condVar, NULL); |
| 570 | return (void*) condVar; |
| 571 | } |
| 572 | |
| 573 | PUBLIC void csoundCondWait(void* condVar, void* mutex) { |
| 574 | pthread_cond_wait(condVar, mutex); |
no outgoing calls
no test coverage detected