![]() SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
The Synchronization package includes a group of synchronization classes and a group of helper classes, called guard classes.
For complete information about the Synchronization package, see the Threads Module User's Guide.
Classes | |
| class | RWBarrier |
| Synchronizes a number of concurrent threads at a specific point in their processing. More... | |
| class | RWCondition |
| A condition variable used to delay and reawaken a thread based on program state. More... | |
| class | RWCriticalSection |
| Provides mutual exclusion for a critical section of code in which only one thread should execute at a time. More... | |
| class | RWFIFOMutexLock |
| Guarantees that blocking threads acquire the mutex in the same order that they called the acquire() member function. More... | |
| class | RWMutexLock |
| Implements a mutex, or mutual exclusion lock. More... | |
| class | RWNullMutexLock |
| Efficient stand-in for a mutual exclusion lock when synchronization is either unnecessary or not important. More... | |
| class | RWReadersWriterLock |
| A synchronization lock that allows concurrent access to multiple readers, but limits access to a single writer. More... | |
| class | RWSemaphore |
| A synchronization object that maintains a non-negative counter. More... | |
| class | RWSynchObject |
| Base class for synchronization classes. More... | |
| class | RWTGuardBase< T > |
| Base class for guard classes. More... | |
| struct | RWTHash< RWThreadId > |
| Function object for hashing an RWThreadId. More... | |
| class | RWThreadId |
| A wrapper for platform-specific thread IDs. More... | |
| class | RWTLockGuard< T > |
| A guard that acquires its resource upon creation and releases it upon destruction. More... | |
| class | RWTLockGuardBase< T > |
| Base class for guard classes that acquire their resource upon creation and release it upon destruction. More... | |
| class | RWTMonitor< T > |
| Supplies the mutual exclusion and guard mechanisms for synchronizing member functions. More... | |
| class | RWTReadGuardBase< T > |
| Base class for guard classes that support read access to a given section of code. More... | |
| class | RWTReadLockGuard< T > |
| A guard class that acquires read access to its resource upon creation and releases it upon destruction. More... | |
| class | RWTReadLockGuardBase< T > |
| Base class for guard classes that acquire read access to a resource upon creation and release it upon destruction. More... | |
| class | RWTReadUnlockGuard< T > |
| A guard class that releases its resource upon creation and acquires read access to its resource upon destruction. More... | |
| class | RWTRecursiveLock< T > |
| Supports recursive acquisition of a mutex. More... | |
| class | RWTTryLockGuard< T > |
| Guard class that tries to acquire its resource upon creation and release it upon destruction. More... | |
| class | RWTTryReadLockGuard< T > |
| Guard class that tries to acquire read access on its resource upon creation and release it upon destruction. More... | |
| class | RWTTryWriteLockGuard< T > |
| Guard class that tries to acquire write access on its resource upon creation and release it upon destruction. More... | |
| class | RWTUnlockGuard< T > |
| Guard class that releases its resource upon creation and acquires it upon destruction. More... | |
| class | RWTWriteGuardBase< T > |
| A base class for guard classes that support write access to a given section of code. More... | |
| class | RWTWriteLockGuard< T > |
| A guard class that acquires write access to its resource upon creation and releases it upon destruction. More... | |
| class | RWTWriteLockGuardBase< T > |
| A base class for guard classes that acquire write access to a resource upon creation and release it upon destruction. More... | |
| class | RWTWriteUnlockGuard< T > |
| A guard class that releases its resource upon creation and acquires read access to its resource upon destruction. More... | |
Macros | |
| #define | RW_SYNC_MUTEX_USES_CRITICAL_SECTION |
| #define | RW_THR_HAS_TIMED_MUTEX_ACQUIRE |
Enumerations | |
| enum | RWWaitStatus { RW_THR_TIMEOUT, RW_THR_SIGNALED, RW_THR_ACQUIRED, RW_THR_COMPLETED, RW_THR_ABORTED } |
| #define RW_SYNC_MUTEX_USES_CRITICAL_SECTION |
Users can define this macro as part of their build configuration to use a critical section as the implementation for RWMutexLock.
| #define RW_THR_HAS_TIMED_MUTEX_ACQUIRE |
This macro is defined if the underlying implementation used by RWMutexLock supports timed acquire. For platforms without true timed-acquisition support, RW_THR_TIMEOUT is returned if the mutex cannot be acquired immediately.
| enum RWWaitStatus |
Defines the status return values for calls that accept a time-out value.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.