UT_SpinLock Class Reference

#include <UT_SpinLock.h>

Inheritance diagram for UT_SpinLock:

UT_ReentrantSpinLock

List of all members.

Public Member Functions

 UT_SpinLock (int lockstate=0, bool threadlock=false)
 ~UT_SpinLock ()
bool tryLock ()
bool lock (int ntrials)
bool lockLW (int ntrials)
bool lockNap (int ntrials)
void lock ()
void lockLW ()
void lockNap ()
void unlock ()
void waitForTrigger ()
void trigger ()
void debugLock (bool debug)
bool isLocked ()
int getCollisions ()


Detailed Description

Examples:

COP2/COP2_FullImageFilter.h.

Definition at line 27 of file UT_SpinLock.h.


Constructor & Destructor Documentation

UT_SpinLock::UT_SpinLock ( int  lockstate = 0,
bool  threadlock = false 
) [explicit]

UT_SpinLock::~UT_SpinLock (  ) 


Member Function Documentation

void UT_SpinLock::debugLock ( bool  debug  ) 

int UT_SpinLock::getCollisions (  )  [inline]

Definition at line 68 of file UT_SpinLock.h.

bool UT_SpinLock::isLocked (  )  [inline]

Definition at line 65 of file UT_SpinLock.h.

void UT_SpinLock::lock (  ) 

bool UT_SpinLock::lock ( int  ntrials  ) 

void UT_SpinLock::lockLW (  ) 

bool UT_SpinLock::lockLW ( int  ntrials  ) 

void UT_SpinLock::lockNap (  ) 

bool UT_SpinLock::lockNap ( int  ntrials  ) 

void UT_SpinLock::trigger (  ) 

bool UT_SpinLock::tryLock (  ) 

void UT_SpinLock::unlock (  ) 

void UT_SpinLock::waitForTrigger (  ) 


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

Generated on Fri May 25 00:10:55 2012 for HDK by  doxygen 1.5.9