summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_debug.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't trust the environment if issetugid()guenther2012-03-131-1/+3
|
* Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesguenther2011-11-061-10/+1
|
* Add "print debug foo" function safe to use in signal handlers, example:marc2005-12-311-0/+82
_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