Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 08:52:09 -0700 (PDT)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_mutex.c
Message-ID:  <200307011552.h61Fq91e036148@repoman.freebsd.org>

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



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