Public Member Functions

FBFastLock Class Reference

Search for all occurrences

Detailed Description

FBFastLock.

This is the fastest thread lock available since its only a simple spinlock (1 instruction, test and set), BUT, note that this is not reentrant. i.e. The same thread cannot call lock two consecutive times or the thread will spinlock forever.

Definition at line 1388 of file fbsystem.h.

#include <fbsystem.h>

List of all members.

Public Member Functions

 FBFastLock ()
 Constructor.
 ~FBFastLock ()
 Destructor.
void Lock ()
 Enter lock.
void Unlock ()
 Exit lock.

Constructor & Destructor Documentation

Constructor.

~FBFastLock ( )

Destructor.


Member Function Documentation

void Lock ( )
void Unlock ( )

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

FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock
FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock FBFastLock