Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
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);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Create string splitting user defined function in C++||23||338|
|c++, dynamic object by json||1||60|
|print bytes of an integer||6||27|
|c++ aadding data to a list box vs2005 mfc project||7||14|