| 150 | } |
| 151 | |
| 152 | static av_always_inline int pthread_cond_signal(pthread_cond_t *cond) |
| 153 | { |
| 154 | if (!__atomic_cmpxchg32(&cond->wait_count, 0, 0)) { |
| 155 | DosPostEventSem(cond->event_sem); |
| 156 | DosWaitEventSem(cond->ack_sem, SEM_INDEFINITE_WAIT); |
| 157 | } |
| 158 | |
| 159 | return 0; |
| 160 | } |
| 161 | |
| 162 | static av_always_inline int pthread_cond_broadcast(pthread_cond_t *cond) |
| 163 | { |
no outgoing calls
no test coverage detected