summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_rwlockattr.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the changes needed for libpthread to compile in its new home.Jonathan Mini2002-09-161-1/+1
| | | | | | | | | | | The new libpthread will provide POSIX threading support using KSE. These files were previously repo-copied from src/lib/libc_r. Reviewed by: deischen Approved by: -arch Notes: svn path=/head/; revision=103388
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>Daniel Eischen2001-04-101-4/+4
| | | | | | | | | instead of #pragma weak to create weak definitions. Suggested by: bde Notes: svn path=/head/; revision=75369
* Add weak definitions for wrapped system calls. In general:Daniel Eischen2001-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 Notes: svn path=/head/; revision=71581
* Track libc's three-tier symbol naming. libc_r must currently implementJason Evans2000-01-121-4/+4
| | | | | | | | the _libc_*() entry points and add *() weak aliases. This will all change for the better when libc_r becomes libpthread. Notes: svn path=/head/; revision=55838
* Fix some minor POSIX/SUSv2 compliance nits.Jason Evans1999-12-181-7/+4
| | | | | | | PR: kern/11982 Notes: svn path=/head/; revision=54757
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* -Wall clean.Alexander Langer1998-09-071-1/+2
| | | | Notes: svn path=/head/; revision=38921
* Implement pthread read/write locks as defined by Version 2 of the SingleAlexander Langer1998-09-071-0/+97
UNIX Specification. As with our standard mutexes, process shared locks are not supported at this time. Notes: svn path=/head/; revision=38919