dnxDebug.h File Reference

Implements various debugging macros. More...

#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()


Detailed Description

Implements various debugging macros.

Author:
John Calcote (jcalcote@users.sourceforge.net)
Attention:
Please submit patches to http://dnx.sourceforge.net

Definition in file dnxDebug.h.


Define Documentation

#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)

#define DNX_PT_MUTEX_INIT ( mp   )     pthread_mutex_init((mp),0)

#define DNX_PT_MUTEX_LOCK ( mp   )     pthread_mutex_lock(mp)

#define DNX_PT_MUTEX_UNLOCK ( mp   )     pthread_mutex_unlock(mp)

#define xcalloc   calloc

Definition at line 105 of file dnxDebug.h.

Referenced by dnxUdpNew(), and pfopen().

#define xfree   free

 
#define xheapchk (  ) 

Definition at line 109 of file dnxDebug.h.

Referenced by main(), and nebmodule_deinit().

#define xmalloc   malloc

#define xrealloc   realloc

#define xstrdup   strdup


Generated on Tue Apr 13 15:48:07 2010 for DNX by  doxygen 1.5.6