A10 Networks Interview Question

Implement pthread_cond_wait with sched_yield