This class provides a full specialization of ThreadUtilImpl for pthreads.
Synopsis
Declared in <bslmt_threadutilimpl_pthread.h>
template<>
struct ThreadUtilImpl<Platform::PosixThreads>;
Type Aliases
Name |
Description |
Thread handle type. |
|
Thread identifier type. |
|
Thread‐specific storage key type. |
|
Native thread handle type. |
Static Member Functions
Name |
Description |
Return whether the two thread handles identify the same thread. |
|
Return whether the two thread identifiers refer to the same thread. |
|
|
|
Create a process‐wide key for thread‐local storage. |
|
Delete the specified process‐wide thread‐local key. |
|
Detach the thread so its resources are reclaimed on termination. |
|
Exit the current thread and return the specified status. |
|
Return the maximum available scheduling priority for the policy. |
|
Return the minimum available scheduling priority for the policy. |
|
Return the calling thread's value associated with the specified key. |
|
Load the name of the current thread into the specified string. |
|
Return the unique identifier for the thread with the specified handle. |
|
Return the number of concurrent threads supported by the implementation on success, and 0 otherwise. |
|
Return a unique integral identifier for the specified thread. |
|
Return a unique 64‐bit integral identifier for the specified thread. |
|
Wait for the specified thread to terminate and reclaim its resources. |
|
Suspend the current thread for at least the specified duration. |
|
Return the platform‐specific native handle for the specified thread. |
|
Return an opaque handle that refers to the current thread. |
|
Return a unique identifier for the current thread in this process. |
|
Return a unique integral identifier for the current thread. |
|
Return a unique 64‐bit integral identifier for the current thread. |
|
Return a unique 64‐bit identifier for the current kernel thread. |
|
Associate the specified value with the key for the calling thread. |
|
Set the name of the current thread to the specified name. |
|
Suspend the current thread for at least the specified relative time. |
|
Suspend the current thread until the specified absolute time. |
|
Yield the processor so another ready thread can run. |
Static Data Members
Name |
Description |
Invalid thread handle value. |
Created with MrDocs