The <thread> header provides facilities for managing and identifying threads, and functions for making the current thread sleep.
namespace std { class thread; template<typename Allocator> class std::vector<std::thread,Allocator>; namespace this_thread { thread::id get_id(); void yield(); template<typename Rep,typename Period> void sleep_for( std::chrono::duration<Rep,Period> sleep_duration); template<typename Clock,typename Duration> void sleep_until( std::chrono::time_point<Clock,Duration> wake_time); } } #define JSS_THREAD_LOCAL(type,name,initializer) see description