Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.
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);
Join the community of 500,000 technology professionals and ask your questions.