#include "dnxLogging.h"
#include <errno.h>
#include <string.h>
#include <pthread.h>
#include <assert.h>
#include <stdlib.h>
Go to the source code of this file.
Defines | |
#define | DNX_PT_MUTEX_INIT(mp) pthread_mutex_init((mp),0) |
#define | DNX_PT_MUTEX_DESTROY(mp) pthread_mutex_destroy(mp) |
#define | DNX_PT_MUTEX_LOCK(mp) pthread_mutex_lock(mp) |
#define | DNX_PT_MUTEX_UNLOCK(mp) pthread_mutex_unlock(mp) |
#define | DNX_PT_COND_DESTROY(cvp) pthread_cond_destroy(cvp) |
#define | xmalloc malloc |
#define | xcalloc calloc |
#define | xrealloc realloc |
#define | xstrdup strdup |
#define | xfree free |
#define | xheapchk() |
Definition in file dnxDebug.h.
#define DNX_PT_COND_DESTROY | ( | cvp | ) | pthread_cond_destroy(cvp) |
Definition at line 90 of file dnxDebug.h.
Referenced by dnxJobListCreate(), and dnxJobListDestroy().
#define DNX_PT_MUTEX_DESTROY | ( | mp | ) | pthread_mutex_destroy(mp) |
Definition at line 78 of file dnxDebug.h.
Referenced by dnxChanMapInit(), dnxChanMapRelease(), dnxJobListCreate(), dnxJobListDestroy(), dnxQueueDestroy(), dnxTcpDeInit(), dnxUdpDeInit(), dnxWlmCreate(), and dnxWlmDestroy().
#define DNX_PT_MUTEX_INIT | ( | mp | ) | pthread_mutex_init((mp),0) |
Definition at line 77 of file dnxDebug.h.
Referenced by dnxChanMapInit(), dnxJobListCreate(), dnxQueueCreate(), dnxTcpInit(), dnxUdpInit(), and dnxWlmCreate().
#define DNX_PT_MUTEX_LOCK | ( | mp | ) | pthread_mutex_lock(mp) |
Definition at line 79 of file dnxDebug.h.
Referenced by dnxChanMapAdd(), dnxChanMapAllocChannel(), dnxChanMapDelete(), dnxChanMapRelease(), dnxJobListAdd(), dnxJobListCollect(), dnxJobListDispatch(), dnxJobListExpire(), dnxQueueDestroy(), dnxQueueFind(), dnxQueueGet(), dnxQueueGetWait(), dnxQueueNext(), dnxQueuePut(), dnxQueueRemove(), dnxQueueSize(), dnxTcpOpen(), dnxUdpOpen(), dnxWlmCreate(), dnxWlmDestroy(), dnxWlmGetStats(), dnxWlmReconfigure(), dnxWlmResetStats(), and dnxWorker().
#define DNX_PT_MUTEX_UNLOCK | ( | mp | ) | pthread_mutex_unlock(mp) |
Definition at line 80 of file dnxDebug.h.
Referenced by dnxChanMapAdd(), dnxChanMapAllocChannel(), dnxChanMapDelete(), dnxChanMapRelease(), dnxJobListAdd(), dnxJobListCollect(), dnxJobListDispatch(), dnxJobListExpire(), dnxQueueDestroy(), dnxQueueFind(), dnxQueueGet(), dnxQueueGetWait(), dnxQueueNext(), dnxQueuePut(), dnxQueueRemove(), dnxQueueSize(), dnxTcpOpen(), dnxUdpOpen(), dnxWlmCreate(), dnxWlmDestroy(), dnxWlmGetStats(), dnxWlmReconfigure(), dnxWlmResetStats(), and dnxWorker().
#define xcalloc calloc |
#define xfree free |
Definition at line 108 of file dnxDebug.h.
Referenced by buildCurrentCfgCache(), buildMgmtCfgReply(), buildMgmtStatsReply(), cleanThreadPool(), dnxAgentServer(), dnxBuildNodeStatsReply(), dnxCfgParserCreate(), dnxCfgParserDestroy(), dnxCfgParserParse(), dnxChanMapAdd(), dnxChanMapDelete(), dnxChanMapRelease(), dnxCollector(), dnxCollectorCreate(), dnxCollectorDestroy(), dnxDeregisterNode(), dnxDispatcherCreate(), dnxDispatcherDestroy(), dnxGetNodeRequest(), dnxJobCleanup(), dnxJobListCreate(), dnxJobListDestroy(), dnxMsgQDelete(), dnxParseCfgLine(), dnxPluginRelease(), dnxPostResult(), dnxQueueDestroy(), dnxQueueGet(), dnxQueueGetWait(), dnxQueuePut(), dnxQueueRemove(), dnxRegistrar(), dnxRegistrarCreate(), dnxRegistrarDestroy(), dnxResultsListener(), dnxTcpDelete(), dnxTcpNew(), dnxTimerCreate(), dnxTimerDestroy(), dnxUdpDelete(), dnxUdpNew(), dnxWlmCreate(), dnxWlmDestroy(), dnxWorker(), ehSvcCheck(), freeArrayPtrs(), freeCfgData(), parseIntOrUnsignedArray(), parseString(), parseStringArray(), pfclose(), pfopen(), processCommands(), processRequests(), releaseConfig(), version(), and workerCreate().
#define xheapchk | ( | ) |
#define xmalloc malloc |
Definition at line 104 of file dnxDebug.h.
Referenced by buildMgmtCfgReply(), copyCfgData(), copyDictionary(), dnxCfgParserCreate(), dnxCfgParserParse(), dnxCollectorCreate(), dnxCreateNodeAt(), dnxDispatcherCreate(), dnxJobListCreate(), dnxMsgQNew(), dnxPluginInit(), dnxPluginVector(), dnxPostNewJob(), dnxPostResult(), dnxQueueCreate(), dnxQueuePut(), dnxRegistrar(), dnxRegistrarCreate(), dnxTcpNew(), dnxTimerCreate(), dnxUdpNew(), dnxWlmCreate(), ehSvcCheck(), formatBool(), formatIntOrUnsigned(), formatIntOrUnsignedArray(), formatString(), formatStringArray(), parseIntOrUnsignedArray(), strToStrArray(), and workerCreate().
#define xrealloc realloc |
Definition at line 106 of file dnxDebug.h.
Referenced by appendString(), buildCurrentCfgCache(), dnxResultsListener(), dnxWlmReconfigure(), and processRequests().
#define xstrdup strdup |
Definition at line 107 of file dnxDebug.h.
Referenced by buildHelpReply(), buildMgmtNodeListReply(), buildMgmtNodeStatsReply(), copyCfgData(), dnxAgentServer(), dnxCfgParserCreate(), dnxChanMapAdd(), dnxCollectorCreate(), dnxDispatcherCreate(), dnxParseCfgLine(), dnxPostNewJob(), dnxWlmCreate(), dnxWorker(), dnxXmlGet(), parseString(), processCommands(), and versionText().