CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/12/06 10:54:59
Modified files:
lib/libpthread/uthread: pthread_private.h uthread_close.c
uthread_dup2.c uthread_fd.c
uthread_fork.c uthread_getpeername.c
uthread_getsockname.c
uthread_getsockopt.c uthread_init.c
uthread_setsockopt.c uthread_shutdown.c
Log message:
Make internal file descriptor handling async-signal safe by eliminating
the use of spinlocks and malloc. All needed memory is allocated upfront
and _thread_kern_sig_defer/undefer() is now used to protect critical
sections. okay guenther@