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.
![]() ![]() |
#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 |
Definition at line 73 of file SysSemaphore.hpp.
|
inline |
Definition at line 75 of file SysSemaphore.hpp.
SysMutex::SysMutex | ( | bool | createSem | ) |
Create a semaphore with potential creation-time initialization.
create | Indicates whether the semaphore should be created now. |
Definition at line 230 of file SysSemaphore.cpp.
References create().
|
inline |
Definition at line 77 of file SysSemaphore.hpp.
void SysMutex::close | ( | ) |
Definition at line 287 of file SysSemaphore.cpp.
References created, and mutexMutex.
Referenced by ActivityManager::closeLocks(), Interpreter::closeLocks(), and RexxMemory::closeLocks().
void SysMutex::create | ( | ) |
Definition at line 238 of file SysSemaphore.cpp.
References created, and mutexMutex.
Referenced by ActivityManager::createLocks(), Interpreter::createLocks(), RexxMemory::createLocks(), APIServer::initServer(), ServerMacroSpaceManager::ServerMacroSpaceManager(), ServerQueueManager::ServerQueueManager(), ServerRegistrationManager::ServerRegistrationManager(), and SysMutex().
|
inline |
Definition at line 79 of file SysSemaphore.hpp.
|
inline |
Definition at line 82 of file SysSemaphore.hpp.
References mutexMutex.
Referenced by APIServer::releaseLock(), Interpreter::releaseResourceLock(), RexxMemory::returnFlattenStack(), RexxMemory::setEnvelope(), RexxMemory::setObjectOffset(), ActivityManager::unlockKernel(), and Lock::~Lock().
|
inline |
Definition at line 81 of file SysSemaphore.hpp.
References mutexMutex.
Referenced by RexxMemory::getFlattenStack(), Interpreter::getResourceLock(), Lock::Lock(), ActivityManager::lockKernel(), APIServer::requestLock(), RexxMemory::setEnvelope(), and RexxMemory::setObjectOffset().
|
inline |
Definition at line 83 of file SysSemaphore.hpp.
References mutexMutex.
Referenced by RexxMemory::getFlattenStack(), ActivityManager::lockKernelImmediate(), RexxMemory::setEnvelope(), and RexxMemory::setObjectOffset().
|
protected |
Definition at line 87 of file SysSemaphore.hpp.
|
protected |
Definition at line 86 of file SysSemaphore.hpp.
Referenced by close(), create(), release(), request(), and requestImmediate().