MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_cond_init

Function hb_cond_init

libhb/ports.c:1157–1166  ·  view source on GitHub ↗

* hb_cond_init() * hb_cond_close() * hb_cond_wait() * hb_cond_signal() ************************************************************************ * Win9x is not supported by this implementation (SignalObjectAndWait() * only available on Windows 2000/XP). ***********************************************************************/

Source from the content-addressed store, hash-verified

1155 * only available on Windows 2000/XP).
1156 ***********************************************************************/
1157hb_cond_t * hb_cond_init()
1158{
1159 hb_cond_t * c = calloc( sizeof( hb_cond_t ), 1 );
1160
1161 if( c == NULL )
1162 return NULL;
1163
1164 pthread_cond_init( &c->cond, NULL );
1165 return c;
1166}
1167
1168void hb_cond_close( hb_cond_t ** _c )
1169{

Callers 2

taskset_initFunction · 0.85
hb_fifo_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected