Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.
mutex_lock(myLock); time_t vTime = ::time(NULL); struct timespec myTime; myTime.tv_sec = vTime + 30; // 30 secs more than current time myTime.tv_nsec = 0; cond_timedwait(&myCond, &myMutex, &myTime); // This will sleep for 30 secs and then wakeup // fo watever you want. mutex_unlock(myLock);
|ASP.net build a IF/Then Walkthrough Guide||1||209|
|How to programmatically differentiate between C and Java||10||195|
|Embarcadero WebBroker REST server endpoint parameters||2||64|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
17 Experts available now in Live!