aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_attr_getstacksize.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-1/+1
| | | | | | | | | 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-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _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
* Fixed missing consts for function parameters, so that the code matchesBruce Evans2000-05-111-1/+2
| | | | | | | | the man page and POSIX.1. Fixed nearby misformatting. Fixed a missing prototype. Notes: svn path=/head/; revision=60382
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Add RCS IDs to those files without them.Daniel Eischen1999-08-051-1/+2
| | | | | | | | | | Fix copyrights (s/REGENTS/AUTHOR). Suggested by: tg Approved by: jb Notes: svn path=/head/; revision=49439
* Submitted by: John BirrellJulian Elischer1997-02-051-0/+52
uthreads update from the author. Notes: svn path=/head/; revision=22315