summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2005-12-31 21:40:44 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2005-12-31 21:40:44 +0000
commitd3c5214856c5c2a7e9a9d83047d07592e3a560db (patch)
tree36817b13c5a8ff3644ede042c3e8a8d172cc2bf8 /sys
parent73ed0e5c02f4909688a40974d9bb8086b01f22c5 (diff)
Add "print debug foo" function safe to use in signal handlers, example:
_rthread_debug(3, "foo = %s", foo); where output is to stderr and will only be printed if the current debug level is >= 3. Messages with a debug level of 0 are always printed. The level can be set from the environment (not enabled yet) or with gdb by modifying variable _rthread_debug_level. "Fine with me" -Otto
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions