BloombergLP::bslmt::Platform

This struct provides a namespace for concurrency trait definitions.

Synopsis

Declared in <bslmt_platform.h>

struct Platform;

Types

NameDescription
CountedSemaphore Counted semaphore implementation policy.
DarwinSemaphore Darwin-specific semaphore implementation policy.
PosixAdvTimedSemaphore Advanced POSIX timed-semaphore implementation policy.
PosixSemaphore POSIX semaphore implementation policy.
PosixThreads POSIX threads implementation policy.
PthreadTimedSemaphore Pthread-based timed-semaphore implementation policy.
Win32Semaphore Windows semaphore implementation policy.
Win32Threads Win32 threads implementation policy.
Win32TimedSemaphore Win32 timed-semaphore implementation policy.

Type Aliases

NameDescription
SemaphorePolicy
ThreadPolicy Thread policy for Unix platforms.
TimedSemaphorePolicy

Enums

NameDescription
Unnamed enum Constants used to prevent false sharing in synchronization primitives.