MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / pthread_cond_signal

Function pthread_cond_signal

compat/os2threads.h:152–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static 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
162static av_always_inline int pthread_cond_broadcast(pthread_cond_t *cond)
163{

Callers 15

pthread_cond_broadcastFunction · 0.70
async_buffer_taskFunction · 0.50
async_closeFunction · 0.50
async_read_internalFunction · 0.50
async_seekFunction · 0.50
circular_buffer_task_rxFunction · 0.50
udp_writeFunction · 0.50
udp_closeFunction · 0.50
thread_workerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected