CVSROOT:        /cvs
Module name:    src
Changes by:     fg...@cvs.openbsd.org   2011/09/13 17:56:00

Modified files:
        lib/libpthread/uthread: pthread_private.h uthread_cancel.c 
                                uthread_info_openbsd.c uthread_kern.c 
                                uthread_kevent.c uthread_sig.c 
                                uthread_suspend_np.c 

Log message:
For threads in PS_FDR_WAIT state, check SA_RESTART before marking it as
interrupted, thus simulating the system call restart behaviour in the
non-pthreads case.
Add a state for kevent since it shouldn't be restarted regardless of
SA_RESTART being present.
guenther@ ok.

Reply via email to