A10 Networks interview question

Implement pthread_cond_wait with sched_yield