WaitForSingleObject and WaitForMultipleObjects equivalent in linux
- by Sirish Kumar
Hi,
I am migrating an applciation from windows to linux.
I am facing problem w.r.t WaitForSingleObject and WaitForMultipleObjects interfaces
In my application I spawn multiple threads where all threads wait for events from parent process or periodically run for every t seconds.
How can I implement this in Unix.
I have checked pthread_cond_timedwait, but we have to specify absolute time for this.