Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWCancellationState



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

None

Packages

Synchronization, Threading

Typedef

typedef void(*RWCancellationState)(void);

Header Files

#include <rw/sync/RWCancellationState.h> 
#include <rw/thread/RWCancellation.h> 

Description

This function pointer type is used with the Synchronization objects to set the cancellation policy.

RW_CANCELLATION_DISABLED is defined in the Synchronization package to be 0. RW_CANCELLATION_ENABLED is defined in the Threading package as &rwServiceCancellation. Either macro may be passed where an RWCancellationState is expected. For example, see RWSynchObject::setCancellation(RWCancellationState).

For information on changes in RWCancellationState and compatibility with previous versions of Threads.h++, please see the Threads.h++ User's Guide appendix.

See Also

RWSynchObject



Previous fileTop of DocumentContentsIndexNext file

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