From owner-cvs-src@FreeBSD.ORG Thu May 29 13:58:32 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 4F7BB37B401; Thu, 29 May 2003 13:58:32 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D2543F85; Thu, 29 May 2003 13:58:31 -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 h4TKwV0U061153; Thu, 29 May 2003 13:58:31 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4TKwV4V061152; Thu, 29 May 2003 13:58:31 -0700 (PDT) Message-Id: <200305292058.h4TKwV4V061152@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 29 May 2003 13:58:31 -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_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: Thu, 29 May 2003 20:58:32 -0000 mtm 2003/05/29 13:58:31 PDT FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Make the mutex static initializers look more like the one for condition variables. Cosmetic. Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't encourage calls to the mutex functions with null pointers to mutexes. Approved by: re/jhb Revision Changes Path 1.9 +19 -25 src/lib/libthr/thread/thr_mutex.c