MADNESS  0.10.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
madness::MutexWaiter Class Reference

#include <worldmutex.h>

Public Member Functions

 MutexWaiter ()
 
void reset ()
 
void wait ()
 

Private Member Functions

void yield (int us)
 

Private Attributes

unsigned int count
 

Constructor & Destructor Documentation

◆ MutexWaiter()

madness::MutexWaiter::MutexWaiter ( )
inline

Member Function Documentation

◆ reset()

void madness::MutexWaiter::reset ( )
inline

◆ wait()

void madness::MutexWaiter::wait ( )

◆ yield()

void madness::MutexWaiter::yield ( int  us)
inlineprivate

Yield for specified number of microseconds unless dedicated CPU Blue Gene always has a dedicated hw thread

References madness::myusleep().

Referenced by wait().

Member Data Documentation

◆ count

unsigned int madness::MutexWaiter::count
private

Referenced by reset(), and wait().


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