cvs commit: src/sys/kern kern_thr.c

David Xu davidxu at FreeBSD.org
Wed Dec 1 05:50:05 PST 2004


davidxu     2004-12-01 13:50:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_thr.c 
  Log:
  If a thread is resumed by thr_wake, it should return 0, especially it
  should not return ERESTART after it caught a signal, otherwise
  thr_wake() call will be lost, also a timeout wait should not be
  restarted. Final, using wakeup not wakeup_one to be safeness.
  
  Revision  Changes    Path
  1.31      +15 -5     src/sys/kern/kern_thr.c


More information about the cvs-src mailing list