cvs commit: src/lib/libthr/thread thr_mutex.c

Mike Makonnen mtm at FreeBSD.org
Tue Jul 1 08:52:11 PDT 2003


mtm         2003/07/01 08:52:09 PDT

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_mutex.c 
  Log:
  Do not attempt to reque a thread on a mutex queue. It may be that
  a thread receives a spurious wakeup from sigtimedwait(), so make sure
  that the call to the queueing code is called only once before entering
  the loop (not in the loop). This should fix some fatal errors people
  are seeing with messages stating the thread is already on the mutex queue.
  These errors may still be triggered from signal handlers; however, since
  that part of the code is not locked down yet.
  
  Revision  Changes    Path
  1.14      +1 -1      src/lib/libthr/thread/thr_mutex.c


More information about the cvs-src mailing list