Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the changes needed for libpthread to compile in its new home. | mini | 2002-09-16 | 1 | -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 | ||||
* | To be consistent, use the __weak_reference macro from <sys/cdefs.h> | deischen | 2001-04-10 | 1 | -1/+1 |
| | | | | | | instead of #pragma weak to create weak definitions. Suggested by: bde | ||||
* | Add weak definitions for wrapped system calls. In general: | deischen | 2001-01-24 | 1 | -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 | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Add RCS IDs to those files without them. | deischen | 1999-08-05 | 1 | -1/+2 |
| | | | | | | | Fix copyrights (s/REGENTS/AUTHOR). Suggested by: tg Approved by: jb | ||||
* | Reviewed by: julian | julian | 1996-01-22 | 1 | -0/+43 |
Submitted by: john birrel One version of the pthreads library another will follow with differnt actions under some cases.. not QUITE complete |