[thread.syn] # 32 Concurrency support library [[thread]](./#thread) ## 32.4 Threads [[thread.threads]](thread.threads#thread.syn) ### 32.4.2 Header synopsis [thread.syn] [🔗](#header:%3cthread%3e) #include // see [[compare.syn]](compare.syn "17.12.1 Header synopsis")namespace std {// [[thread.thread.class]](thread.thread.class "32.4.3 Class thread"), class threadclass thread; void swap(thread& x, thread& y) noexcept; // [[thread.jthread.class]](thread.jthread.class "32.4.4 Class jthread"), class jthreadclass jthread; // [[thread.thread.this]](thread.thread.this "32.4.5 Namespace this_­thread"), namespace this_threadnamespace this_thread { thread::id get_id() noexcept; void yield() noexcept; templatevoid sleep_until(const chrono::time_point& abs_time); templatevoid sleep_for(const chrono::duration& rel_time); }}