| 160 | } |
| 161 | |
| 162 | static av_always_inline int pthread_cond_broadcast(pthread_cond_t *cond) |
| 163 | { |
| 164 | while (!__atomic_cmpxchg32(&cond->wait_count, 0, 0)) |
| 165 | pthread_cond_signal(cond); |
| 166 | |
| 167 | return 0; |
| 168 | } |
| 169 | |
| 170 | static av_always_inline int pthread_cond_timedwait(pthread_cond_t *cond, |
| 171 | pthread_mutex_t *mutex, |
no test coverage detected