Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 13:50:04 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_thr.c
Message-ID:  <200412011350.iB1Do4LT089206@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412011350.iB1Do4LT089206>