nn::nex::ScopedCS Class

Syntax

class ScopedCS : public nn::nex::RootObject

Description

The CriticalSection class limited to within the scope.

Execution enters the CriticalSection passed to the constructor by an argument, and exits the CriticalSection in the destructor. This class is useful for avoiding entering deadlock by forgetting to exit from CriticalSection.

Member Functions

ScopedCS Constructor.
V ~ScopedCS Destructor.

Class Hierarchy

nn::nex::RootObject
  nn::nex::ScopedCS

See Also

CriticalSection

Revision History

2011/01/27
Initial version.

CONFIDENTIAL