ooRexx  4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
  Fossies Dox: ooRexx-4.2.0-source.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

SysMutex Class Reference

#include <SysSemaphore.hpp>

Public Member Functions

 SysMutex ()
 SysMutex (bool)
 ~SysMutex ()
void create ()
void open ()
void close ()
void request ()
void release ()
bool requestImmediate ()

Protected Attributes

pthread_mutex_t mutexMutex
bool created

Detailed Description

Definition at line 73 of file SysSemaphore.hpp.

Constructor & Destructor Documentation

◆ SysMutex() [1/2]

SysMutex::SysMutex ( )

Definition at line 75 of file SysSemaphore.hpp.

◆ SysMutex() [2/2]

SysMutex::SysMutex ( bool  createSem)

Create a semaphore with potential creation-time initialization.

createIndicates whether the semaphore should be created now.

Definition at line 230 of file SysSemaphore.cpp.

References create().

◆ ~SysMutex()

SysMutex::~SysMutex ( )

Definition at line 77 of file SysSemaphore.hpp.

Member Function Documentation

◆ close()

void SysMutex::close ( )

◆ create()

◆ open()

void SysMutex::open ( )

Definition at line 79 of file SysSemaphore.hpp.

◆ release()

◆ request()

◆ requestImmediate()

bool SysMutex::requestImmediate ( )

Member Data Documentation

◆ created

bool SysMutex::created

Definition at line 87 of file SysSemaphore.hpp.

Referenced by close(), and create().

◆ mutexMutex

pthread_mutex_t SysMutex::mutexMutex

Definition at line 86 of file SysSemaphore.hpp.

Referenced by close(), create(), release(), request(), and requestImmediate().

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