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

Mike Makonnen mtm at FreeBSD.org
Tue May 20 20:41:09 PDT 2003


mtm         2003/05/20 20:41:07 PDT

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_cond.c thr_mutex.c 
  Log:
  Insert a debugging aid:
   When in either the mutex or cond queue we notice that the thread
   is already on one of the queues, don't just simply abort(). Print
   out the thread's identifiers and what queue it was on.
  
  Approved by: markm/mentor, re/blanket libthr
  
  Revision  Changes    Path
  1.5       +8 -0      src/lib/libthr/thread/thr_cond.c
  1.7       +8 -0      src/lib/libthr/thread/thr_mutex.c


More information about the cvs-src mailing list