12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef _PT_DEBUG_H
- #define _PT_DEBUG_H
- #include <features.h>
- #ifdef __DODEBUG_PT__
- # define DEBUG_PT
- #endif
- #undef PDEBUG
- #ifdef DEBUG_PT
- # define PDEBUG(fmt, args...) __pthread_message("%s: " fmt, __FUNCTION__, ## args)
- #else
- # define PDEBUG(fmt, args...)
- #endif
- #endif
|