32 Concurrency support library [thread]

32.4 Threads [thread.threads]

32.4.2 Header <thread> synopsis [thread.syn]

#include <compare> / see [compare.syn] namespace std { / [thread.thread.class], class thread class thread; void swap(thread& x, thread& y) noexcept; / [thread.jthread.class], class jthread class jthread; / [thread.thread.this], namespace this_thread namespace this_thread { thread::id get_id() noexcept; void yield() noexcept; template<class Clock, class Duration> void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); template<class Rep, class Period> void sleep_for(const chrono::duration<Rep, Period>& rel_time); } }

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant