Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), | jasone | 2000-01-27 | 1 | -13/+13 |
| | | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen | ||||
* | Track libc's three-tier symbol naming. libc_r must currently implement | jasone | 2000-01-12 | 1 | -1/+3 |
| | | | | | the _libc_*() entry points and add *() weak aliases. This will all change for the better when libc_r becomes libpthread. | ||||
* | add pthread_cancel, obtained from OpenBSD. | alfred | 1999-11-28 | 1 | -0/+40 |
eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone |