40 #ifndef Included_Utilities
41 #define Included_Utilities
44 #include <sys/types.h>
48 #define CONCURRENCY_TRACE "%16.16x %16.16x %16.16x %5.5hu%c "
50 #define CONCURRENCY_TRACE "%8.8x %8.8x %8.8x %5.5hu%c "
53 #define CONCURRENCY_BUFFER_SIZE 100
79 static int memicmp(
const void *opt1,
const void *opt2,
size_t len);
82 static const char *
strnchr(
const char *,
size_t n,
char ch);
83 static const char *
locateCharacter(
const char *s,
const char *set,
size_t l);
84 static int vsnprintf(
char *buffer,
size_t count,
const char *format, va_list args);
85 static int snprintf(
char *buffer,
size_t count,
const char *format, ...);
void(* ConcurrencyInfosCollector)(struct ConcurrencyInfos &concurrencyInfos)
static void SetConcurrencyInfosCollector(ConcurrencyInfosCollector)
static const char * locateCharacter(const char *s, const char *set, size_t l)
static void GetConcurrencyInfos(struct ConcurrencyInfos &concurrencyInfos)
static const char * strnchr(const char *, size_t n, char ch)
static void strupper(char *str)
static wholenumber_t currentThreadId()
static bool traceConcurrency()
static void strlower(char *str)
static bool traceParsing()
static int strCaselessCompare(const char *opt1, const char *opt2)
static int memicmp(const void *opt1, const void *opt2, size_t len)
static int vsnprintf(char *buffer, size_t count, const char *format, va_list args)
static int snprintf(char *buffer, size_t count, const char *format,...)
RexxVariableDictionary * variableDictionary
RexxActivation * activation
unsigned short reserveCount