Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSynchObject

Module:  Threads   Package:  Synchronization


Base Class

Local Index

Members

Header File

#include <rw/sync/RWSynchObject.h> 

Description

RWSynchObject is the base class for synchronization classes, RWMutexLock, RWFIFOMutexLock, RWTRecursiveLock<Mutex>, RWSemaphore, RWCondition, RWReadersWriterLock, and RWCriticalSection. The class contains methods that support automatic cancellation detection for runnables containing a thread that is accessing the acquire() or wait() members of these derived classes.

Public Member Functions

void
enableCancellation(RWCancellationState);
void
disableCancellation();
bool
isCancellationEnabled() const;
void
setCancellation(RWCancellationState);

Protected Constructors

RWSynchObject(RWCancellationState
state=RW_CANCELLATION_DISABLED);
RWSynchObject(const RWSynchObject& second);

Protected Member Function

void
testCancellation();

Protected Member Operator

RWSynchObject& 
operator=(const RWSynchObject& second);

See Also

RWMutexLock, RWNullMutexLock, RWFIFOMutexLock, RWTRecursiveLock<Mutex>, RWReadersWriterLock, RWSemaphore, RWCondition, RWCriticalSection



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright 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.
Contact Rogue Wave about documentation or support issues.