Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
eb5670ec
Commit
eb5670ec
authored
Aug 24, 2000
by
Andreas Gustafsson
Browse files
send task trace output to stderr, not stdout, so that
it gets buffered synchronously with logging output sent to stderr
parent
ce4ccd5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/task.c
View file @
eb5670ec
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: task.c,v 1.
69
2000/08/
01
01:
29:51 tale
Exp $ */
/* $Id: task.c,v 1.
70
2000/08/
24
01:
40:46 gson
Exp $ */
/*
* Principal Author: Bob Halley
...
...
@@ -39,11 +39,11 @@
#define ISC_TASK_NAMES 1
#ifdef ISC_TASK_TRACE
#define XTRACE(m) printf("task %p thread %lu: %s\n", \
#define XTRACE(m)
f
printf(
stderr,
"task %p thread %lu: %s\n", \
task, isc_thread_self(), (m))
#define XTTRACE(t, m) printf("task %p thread %lu: %s\n", \
#define XTTRACE(t, m)
f
printf(
stderr,
"task %p thread %lu: %s\n", \
(t), isc_thread_self(), (m))
#define XTHREADTRACE(m) printf("thread %lu: %s\n", \
#define XTHREADTRACE(m)
f
printf(
stderr,
"thread %lu: %s\n", \
isc_thread_self(), (m))
#else
#define XTRACE(m)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment