summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_debug.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther2017-09-051-76/+0
| | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@
* delete wrong cvs $ tagsderaadt2016-09-011-2/+1
|
* Eliminate the need to explicitly invoke syscalls via their _thread_sys_*guenther2016-04-021-1/+3
| | | | | | | aliases by using a macro REDIRECT_SYSCALL() to map the symbols. Apply that to getthrid(), sysctl(), and issetugid() as well. ok mpi@ beck@
* 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