MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_pthread_cond_init

Function my_pthread_cond_init

mysys/my_pthread.c:370–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr)
371{
372 int error;
373 if (!attr)
374 error=pthread_cond_init(mp,pthread_condattr_default);
375 else
376 error=pthread_cond_init(mp,*attr);
377 return error;
378}
379
380#endif
381

Callers

nothing calls this directly

Calls 1

pthread_cond_initFunction · 0.85

Tested by

no test coverage detected