| 131 | } |
| 132 | |
| 133 | static av_always_inline int pthread_cond_init(pthread_cond_t *cond, |
| 134 | const pthread_condattr_t *attr) |
| 135 | { |
| 136 | DosCreateEventSem(NULL, &cond->event_sem, DCE_POSTONE, FALSE); |
| 137 | DosCreateEventSem(NULL, &cond->ack_sem, DCE_POSTONE, FALSE); |
| 138 | |
| 139 | cond->wait_count = 0; |
| 140 | |
| 141 | return 0; |
| 142 | } |
| 143 | |
| 144 | static av_always_inline int pthread_cond_destroy(pthread_cond_t *cond) |
| 145 | { |
no outgoing calls
no test coverage detected