From owner-cvs-src@FreeBSD.ORG Tue May 20 20:41:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC0737B401; Tue, 20 May 2003 20:41:08 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C11843FA3; Tue, 20 May 2003 20:41:08 -0700 (PDT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4L3f70U073714; Tue, 20 May 2003 20:41:07 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4L3f75G073713; Tue, 20 May 2003 20:41:07 -0700 (PDT) Message-Id: <200305210341.h4L3f75G073713@repoman.freebsd.org> From: Mike Makonnen Date: Tue, 20 May 2003 20:41:07 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthr/thread thr_cond.c thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 03:41:09 -0000 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