nn::os::WaitObject Class

Header file: nn/os.h

Syntax

class WaitObject : public nn::os::HandleObject

Description

Base class for objects that are able to wait.

Waiting on instance objects can be done using WaitOne. The WaitAny and WaitAll functions allow you to wait for multiple WaitObjects simultaneously. These Wait operations are "released" automatically by state changes in the objects being waited on. However, the "release" behavior for a Wait operation varies depending on the derived class. Some derived classes define their own functions whose names indicate the specific behavior of their Wait operations.

Threads that have carried out a Wait operation are blocked until the wait is released, thereby yielding the CPU resources to other threads.

This class cannot be instantiated directly. Use derived classes instead.

Member Functions

WaitOne Waits for a single instance object.
S WaitAll Waits for all objects.
S WaitAny Waits for any single object.

Class Hierarchy

ADLFireWall::NonCopyable
  nn::os::HandleObject
    nn::os::WaitObject

Revision History

2010/01/07
Initial version.

CONFIDENTIAL