A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/../c/thread.html below:

Concurrency support library - cppreference.com

Concurrency support library

C includes built-in support for threads, atomic operations, mutual exclusion, condition variables, and thread-specific storages.

These features are optionally provided:

See also _Atomic type specifier and qualifier.

[edit] Threads [edit] Atomic operations Convenience type aliases Typedef name Full type name atomic_bool (C11) _Atomic _Bool(until C23)_Atomic bool(since C23) atomic_char (C11) _Atomic char atomic_schar (C11) _Atomic signed char atomic_uchar (C11) _Atomic unsigned char atomic_short (C11) _Atomic short atomic_ushort (C11) _Atomic unsigned short atomic_int (C11) _Atomic int atomic_uint (C11) _Atomic unsigned int atomic_long (C11) _Atomic long atomic_ulong (C11) _Atomic unsigned long atomic_llong (C11) _Atomic long long atomic_ullong (C11) _Atomic unsigned long long atomic_char8_t (C23) _Atomic char8_t atomic_char16_t (C11) _Atomic char16_t atomic_char32_t (C11) _Atomic char32_t atomic_wchar_t (C11) _Atomic wchar_t atomic_int_least8_t (C11) _Atomic int_least8_t atomic_uint_least8_t (C11) _Atomic uint_least8_t atomic_int_least16_t (C11) _Atomic int_least16_t atomic_uint_least16_t (C11) _Atomic uint_least16_t atomic_int_least32_t (C11) _Atomic int_least32_t atomic_uint_least32_t (C11) _Atomic uint_least32_t atomic_int_least64_t (C11) _Atomic int_least64_t atomic_uint_least64_t (C11) _Atomic uint_least64_t atomic_int_fast8_t (C11) _Atomic int_fast8_t atomic_uint_fast8_t (C11) _Atomic uint_fast8_t atomic_int_fast16_t (C11) _Atomic int_fast16_t atomic_uint_fast16_t (C11) _Atomic uint_fast16_t atomic_int_fast32_t (C11) _Atomic int_fast32_t atomic_uint_fast32_t (C11) _Atomic uint_fast32_t atomic_int_fast64_t (C11) _Atomic int_fast64_t atomic_uint_fast64_t (C11) _Atomic uint_fast64_t atomic_intptr_t (C11) _Atomic intptr_t atomic_uintptr_t (C11) _Atomic uintptr_t atomic_size_t (C11) _Atomic size_t atomic_ptrdiff_t (C11) _Atomic ptrdiff_t atomic_intmax_t (C11) _Atomic intmax_t atomic_uintmax_t (C11) _Atomic uintmax_t [edit] Mutual exclusion [edit] Condition variables [edit] Thread-local storage convenience macro for storage-class specifier _Thread_local
(keyword macro) [edit] tss_t thread-specific storage pointer [edit] maximum number of times destructors are called
(macro constant) [edit] function pointer type void(*)(void*), used for TSS destructor
(typedef) [edit] creates thread-specific storage pointer with a given destructor
(function) [edit] reads from thread-specific storage
(function) [edit] write to thread-specific storage
(function) [edit] releases the resources held by a given thread-specific pointer
(function) [edit] [edit] Reserved identifiers

In future revisions of the C standard:

Identifiers reserved for functions names are always potentially(since C23) reserved for use as identifiers with external linkage, while other identifiers list here are potentially(since C23) reserved when <stdatomic.h> is included.

Declaring, defining, or #undefing such an identifier results in undefined behavior if it is provided by the standard or implementation(since C23). Portable programs should not use those identifiers.

[edit] References
[edit] See also [edit] External links

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4