Make errno a thread-local variable and remove the __error function.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 3 May 2005 07:29:04 +0000 (07:29 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 3 May 2005 07:29:04 +0000 (07:29 +0000)
commit9d315dd3ee66baf246138c2666983bb271a7418e
treeedbfdb987bed1f9081f3291247afb44624fdce0e
parent276aea37e1475114b7087016862cc58e17fe5009
Make errno a thread-local variable and remove the __error function.
The handling of ceiling violations on mutexes can be improved, it
currently needs two syscalls.
21 files changed:
lib/libc/gen/Makefile.inc
lib/libc/gen/errlst.c
lib/libc/i386/sys/cerror.S
lib/libc/i386/sys/ptrace.S
lib/libc/sys/Makefile.inc
lib/libc/sys/__error.c [deleted file]
lib/libc_r/sys/Makefile.inc
lib/libc_r/sys/uthread_error.c [deleted file]
lib/libc_r/uthread/Makefile.inc
lib/libc_r/uthread/pthread_private.h
lib/libc_r/uthread/uthread_init.c
lib/libc_r/uthread/uthread_mutex.c
lib/libc_r/uthread/uthread_seterrno.c [deleted file]
lib/libthread_xu/Makefile
lib/libthread_xu/pthread.map
lib/libthread_xu/sys/Makefile.inc [deleted file]
lib/libthread_xu/sys/thr_error.c [deleted file]
lib/libthread_xu/thread/Makefile.inc
lib/libthread_xu/thread/thr_mutex.c
lib/libthread_xu/thread/thr_seterrno.c [deleted file]
sys/sys/errno.h