summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_mattr_kind_np.c
Commit message (Collapse)AuthorAgeFilesLines
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-101-4/+4
| | | | | | instead of #pragma weak to create weak definitions. Suggested by: bde
* Add weak definitions for wrapped system calls. In general:deischen2001-01-241-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | _foo - wrapped system call foo - weak definition to _foo and for cancellation points: _foo - wrapped system call __foo - enter cancellation point, call _foo(), leave cancellation point foo - weak definition to __foo Change use of global _thread_run to call a function to get the currently running thread. Make all pthread_foo functions weak definitions to _pthread_foo, where _pthread_foo is the implementation. This allows an application to provide its own pthread functions. Provide slightly different versions of pthread_mutex_lock and pthread_mutex_init so that we can tell the difference between a libc mutex and an application mutex. Threads holding mutexes internal to libc should never be allowed to exit, call signal handlers, or cancel. Approved by: -arch
* Add missing man pages. Fix various compliance bugs, mostly having to do withjasone2000-05-021-0/+15
| | | | | | error return values. Implement pthread_mutexattr_gettype(). PR: docs/16537, docs/17538
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add RCS IDs to those files without them.deischen1999-08-051-1/+2
| | | | | | | Fix copyrights (s/REGENTS/AUTHOR). Suggested by: tg Approved by: jb
* Add support for pthread_mutexattr_settype(). As a side effect ofeivind1998-11-281-0/+14
| | | | testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work.
* Add pthread_mutexattr_init() and pthread_mutexattr_setkind_np().hsu1996-11-111-0/+64
OpenPOWER on IntegriCloud