Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches

A lock class. More...

#include <GCSynch.h>

Inheritance diagram for CLock:
CLockEx

Public Member Functions

 CLock ()
 Constructor.
 
 ~CLock ()
 Destructor.
 
bool TryLock ()
 tries to enter the critical section; returns true if successful
 
void Lock ()
 enters the critical section (may block)
 
void Unlock ()
 leaves the critical section
 

Detailed Description

A lock class.

Constructor & Destructor Documentation

◆ CLock()

CLock ( )

Constructor.

◆ ~CLock()

~CLock ( )

Destructor.

Member Function Documentation

◆ Lock()

void Lock ( )

enters the critical section (may block)

◆ TryLock()

bool TryLock ( )

tries to enter the critical section; returns true if successful

◆ Unlock()

void Unlock ( )

leaves the critical section


The documentation for this class was generated from the following file: