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

Function pthread_cond_init

compat/os2threads.h:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static 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
144static av_always_inline int pthread_cond_destroy(pthread_cond_t *cond)
145{

Callers 12

iec61883_read_headerFunction · 0.50
decklink_setup_videoFunction · 0.50
async_openFunction · 0.50
udp_openFunction · 0.50
waiter_initFunction · 0.50
sch_allocFunction · 0.50
tq_allocFunction · 0.50
update_dimensionsFunction · 0.50
vtenc_initFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected