cvs commit: src/sys/kern kern_sig.c

David Xu davidxu at FreeBSD.org
Wed Mar 2 13:43:52 GMT 2005


davidxu     2005-03-02 13:43:51 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sig.c 
  Log:
  In kern_sigtimedwait, remove waitset bits for td_sigmask before
  sleeping, so in do_tdsignal, we no longer need to test td_waitset.
  now td_waitset is only used to give a thread higher priority when
  delivering signal to multithreads process.
  This also fixes a bug:
  when a thread in sigwait states was suspended and later resumed
  by SIGCONT, it can no longer receive signals belong to waitset.
  
  Revision  Changes    Path
  1.302     +10 -28    src/sys/kern/kern_sig.c


More information about the cvs-src mailing list