#####  [ cppreference.com ](/)

[ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Fthread "You
are encouraged to log in; however, it is not mandatory \[o\]")

#####  Namespaces

  * [ Page ](/w/cpp/thread "View the content page \[c\]")
  * [ Discussion ](/w/Talk:cpp/thread "Discussion about the content page \[t\]")

#####  Variants

#####  Views

  * [ View ](/w/cpp/thread)
  * [ Edit ](/mwiki/index.php?title=cpp/thread&action=edit "You can edit this page. Please use the preview button before saving \[e\]")
  * [ History ](/mwiki/index.php?title=cpp/thread&action=history "Past revisions of this page \[h\]")

#####  Actions

#  Concurrency support library  (since C++11)

From cppreference.com

< [ cpp ](/w/cpp "cpp")

[ C++ ](/w/cpp "cpp")

[ Compiler support ](/w/cpp/compiler_support "cpp/compiler support")  
---  
[ Freestanding and hosted ](/w/cpp/freestanding "cpp/freestanding")  
[ Language ](/w/cpp/language "cpp/language")  
[ Standard library ](/w/cpp/standard_library "cpp/standard library")  
[ Standard library headers ](/w/cpp/header "cpp/header")  
[ Named requirements ](/w/cpp/named_req "cpp/named req")  
[ Feature test macros ](/w/cpp/feature_test "cpp/feature test") (C++20)  
[ Language support library ](/w/cpp/utility#Language_support "cpp/utility")  
[ Concepts library ](/w/cpp/concepts "cpp/concepts") (C++20)  
[ Metaprogramming library ](/w/cpp/meta "cpp/meta") (C++11)  
[ Diagnostics library ](/w/cpp/error "cpp/error")  
[ General utilities library ](/w/cpp/utility "cpp/utility")  
[ Strings library ](/w/cpp/string "cpp/string")  
[ Containers library ](/w/cpp/container "cpp/container")  
[ Iterators library ](/w/cpp/iterator "cpp/iterator")  
[ Ranges library ](/w/cpp/ranges "cpp/ranges") (C++20)  
[ Algorithms library ](/w/cpp/algorithm "cpp/algorithm")  
[ Numerics library ](/w/cpp/numeric "cpp/numeric")  
[ Localizations library ](/w/cpp/locale "cpp/locale")  
[ Input/output library ](/w/cpp/io "cpp/io")  
[ Filesystem library ](/w/cpp/filesystem "cpp/filesystem") (C++17)  
[ Regular expressions library ](/w/cpp/regex "cpp/regex") (C++11)  
**Concurrency support library** (C++11)  
[ Technical specifications ](/w/cpp/experimental "cpp/experimental")  
[ Symbols index ](/w/cpp/symbol_index "cpp/symbol index")  
[ External libraries ](/w/cpp/links/libs "cpp/links/libs")  
  
[ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/navbar_content&action=edit)

**Concurrency support library**

|  [ Threads ](/w/cpp/thread#Threads "cpp/thread")  
---  
[ thread  ](/w/cpp/thread/thread "cpp/thread/thread") (C++11)  
[ jthread  ](/w/cpp/thread/jthread "cpp/thread/jthread") (C++20)  
[ stop_token  ](/w/cpp/thread/stop_token "cpp/thread/stop token") (C++20)  
[ stop_source  ](/w/cpp/thread/stop_source "cpp/thread/stop source") (C++20)  
[ stop_callback  ](/w/cpp/thread/stop_callback "cpp/thread/stop callback")
(C++20)  
[ hardware_destructive_interference_size
hardware_constructive_interference_size
](/w/cpp/thread/hardware_destructive_interference_size "cpp/thread/hardware
destructive interference size") (C++17)  (C++17)  
[ ` this_thread ` namespace
](/w/cpp/thread#Functions_managing_the_current_thread "cpp/thread")  
|  [ get_id  ](/w/cpp/thread/get_id "cpp/thread/get id") (C++11)  
---  
[ yield  ](/w/cpp/thread/yield "cpp/thread/yield") (C++11)  
  
|  [ sleep_for  ](/w/cpp/thread/sleep_for "cpp/thread/sleep for") (C++11)  
---  
[ sleep_until  ](/w/cpp/thread/sleep_until "cpp/thread/sleep until") (C++11)  
  
[ Mutual exclusion ](/w/cpp/thread#Mutual_exclusion "cpp/thread")  
|  [ mutex  ](/w/cpp/thread/mutex "cpp/thread/mutex") (C++11)  
---  
[ recursive_mutex  ](/w/cpp/thread/recursive_mutex "cpp/thread/recursive
mutex") (C++11)  
[ shared_mutex  ](/w/cpp/thread/shared_mutex "cpp/thread/shared mutex")
(C++17)  
  
|  [ timed_mutex  ](/w/cpp/thread/timed_mutex "cpp/thread/timed mutex")
(C++11)  
---  
[ recursive_timed_mutex  ](/w/cpp/thread/recursive_timed_mutex
"cpp/thread