Output error message to STDERR_FILENO.
Approved by: re (bmah)
This commit is contained in:
parent
e3117f852e
commit
4aa80591b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171763
@ -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…
Reference in New Issue
Block a user