Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWSynchObject


Base Class

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Data Types

Member Functions

Package

Synchronization

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.

Global Enum

enum RWCancellationState{
      RW_CANCELLATION_DISABLED,
      RW_CANCELLATION_ENABLED)};

Public Member Functions

void
enableCancellation(void);
void
disableCancellation(void);
RWBoolean
isCancellationEnabled(void) const;
void
setCancellation(void);

Protected Constructor

RWSynchObject(RWCancellationState
state=RW_CANCELLATION_DISABLED);

See Also

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



Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.