45 #ifndef SysSemaphore_DEFINED
46 #define SysSemaphore_DEFINED
64 void wait(
const char *ds,
int di);
86 inline void request(
const char *ds,
int di)
88 #ifdef CONCURRENCY_DEBUG
97 #ifdef CONCURRENCY_DEBUG
108 #ifdef CONCURRENCY_DEBUG
117 #ifdef CONCURRENCY_DEBUG
128 #ifdef CONCURRENCY_DEBUG
136 bool result = pthread_mutex_trylock(&
mutexMutex) == 0;
137 #ifdef CONCURRENCY_DEBUG
#define CONCURRENCY_TRACE
void release(const char *ds, int di)
pthread_mutex_t mutexMutex
SysMutex(const char *variable)
bool requestImmediate(const char *ds, int di)
const char * mutexVariable
void request(const char *ds, int di)
SysSemaphore(const char *variable)
void wait(const char *ds, int di)
void setSemVariable(const char *variable)
static void GetConcurrencyInfos(struct ConcurrencyInfos &concurrencyInfos)
static bool traceConcurrency()
RexxVariableDictionary * variableDictionary
RexxActivation * activation
unsigned short reserveCount
void dbgprintf(const char *format,...)