| 60 | } |
| 61 | |
| 62 | int thread_mutex_lock(acl_pthread_mutex_t *mutex) |
| 63 | { |
| 64 | acl_assert(mutex); |
| 65 | |
| 66 | if (WaitForSingleObject(mutex->id, INFINITE) == WAIT_FAILED) |
| 67 | return -1; |
| 68 | |
| 69 | return 0; |
| 70 | } |
| 71 | |
| 72 | int thread_mutex_unlock(acl_pthread_mutex_t *mutex) |
| 73 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…