Public Member Functions | Static Public Member Functions | List of all members
Mutex Class Reference
Inheritance diagram for Mutex:
Inheritance graph
Collaboration diagram for Mutex:
Collaboration graph

Public Member Functions

 Mutex (const char *mutex_name)
 ~Mutex ()

Static Public Member Functions

static bool owned (const char *mutex_name)
static void own_or_terminate (const char *mutex_name)

Detailed Description

Definition at line 76 of file TestEnvironment.cxx.

Constructor & Destructor Documentation

Mutex::Mutex ( const char mutex_name)

Definition at line 93 of file TestEnvironment.cxx.

References arb_assert, GBK_terminatef(), MAX_EXEC_MS_SLOW, mutexDir(), and sleepms().

Mutex::~Mutex ( )

Definition at line 130 of file TestEnvironment.cxx.

References error(), GB_IO_error(), and GBK_terminatef().

Member Function Documentation

static bool Mutex::owned ( const char mutex_name)

Definition at line 148 of file TestEnvironment.cxx.

Referenced by own_or_terminate().

static void Mutex::own_or_terminate ( const char mutex_name)

Definition at line 152 of file TestEnvironment.cxx.

References GBK_terminatef(), and owned().

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