summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_rwlock.c
Commit message (Collapse)AuthorAgeFilesLines
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-101-7/+7
| | | | | | instead of #pragma weak to create weak definitions. Suggested by: bde
* Add weak definitions for wrapped system calls. In general:deischen2001-01-241-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | _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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Removed some variable initializations which were unnecessary and divergentalex1998-09-071-6/+6
| | | | from style(9).
* -Wall clean.alex1998-09-071-1/+3
|
* Implement pthread read/write locks as defined by Version 2 of the Singlealex1998-09-071-0/+333
UNIX Specification. As with our standard mutexes, process shared locks are not supported at this time.
OpenPOWER on IntegriCloud