cvs commit: src/lib/libpthread/thread thr_sig.c thr_sigwait.c

David Xu davidxu at FreeBSD.org
Wed Jul 9 07:30:53 PDT 2003


davidxu     2003/07/09 07:30:52 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_sig.c thr_sigwait.c 
  Log:
  POSIX says if a thread is in sigwait state, although a signal may not in
  its waitset, but if the signal is not masked by the thread, the signal
  can interrupt the thread and signal action can be invoked by the thread,
  sigwait should return with errno set to EINTR.
  Also save and restore thread internal state(timeout and interrupted)
  around signal handler invoking.
  
  Revision  Changes    Path
  1.60      +23 -6     src/lib/libpthread/thread/thr_sig.c
  1.30      +6 -5      src/lib/libpthread/thread/thr_sigwait.c


More information about the cvs-src mailing list