From owner-cvs-src@FreeBSD.ORG Thu Apr 17 15:17:00 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 4138E37B404; Thu, 17 Apr 2003 15:17:00 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5137043FDF; Thu, 17 Apr 2003 15:16:59 -0700 (PDT) (envelope-from jhb@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 h3HMGx0U076595; Thu, 17 Apr 2003 15:16:59 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3HMGxlr076594; Thu, 17 Apr 2003 15:16:59 -0700 (PDT) Message-Id: <200304172216.h3HMGxlr076594@repoman.freebsd.org> From: John Baldwin Date: Thu, 17 Apr 2003 15:16:58 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/procfs procfs_status.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: Thu, 17 Apr 2003 22:17:00 -0000 jhb 2003/04/17 15:16:58 PDT FreeBSD src repository Modified files: sys/fs/procfs procfs_status.c Log: - Use a local variable to close a minor race when determining if the wmesg printed out needs a prefix such as when a thread is blocked on a lock. - Use another local variable to close another race for the td_wmesg and td_wchan members of struct thread. Revision Changes Path 1.47 +15 -9 src/sys/fs/procfs/procfs_status.c