I want my thread wait for some microseconds and currently using usleep for that purpose. I recently noticed pthread_cond_timedwait function which is also used for letting the application wait for sometime. Do you know which is better in terms of waiting time accuracy?
问问题
428 次