| 100 | } |
| 101 | |
| 102 | int pthread_cond_destroy(pthread_cond_t *cond) |
| 103 | { |
| 104 | CloseHandle(cond->sema); |
| 105 | CloseHandle(cond->continue_broadcast); |
| 106 | DeleteCriticalSection(&cond->waiters_lock); |
| 107 | return 0; |
| 108 | } |
| 109 | |
| 110 | int pthread_cond_wait(pthread_cond_t *cond, CRITICAL_SECTION *mutex) |
| 111 | { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…