Output error message to STDERR_FILENO.
Approved by: re (bmah)
This commit is contained in:
parent
bc5f57144e
commit
52bd1282cd
@ -72,7 +72,7 @@ TAILQ_HEAD(mutex_queue, pthread_mutex);
|
||||
|
||||
/* Output debug messages like this: */
|
||||
#define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
|
||||
#define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
|
||||
#define stderr_debug(args...) _thread_printf(STDERR_FILENO, ##args)
|
||||
|
||||
#ifdef _PTHREADS_INVARIANTS
|
||||
#define THR_ASSERT(cond, msg) do { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user