From owner-cvs-src@FreeBSD.ORG Sat Apr 24 02:38:42 2004 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 5FB8616A4CE; Sat, 24 Apr 2004 02:38:42 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4280543D39; Sat, 24 Apr 2004 02:38:42 -0700 (PDT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3O9cgGe044809; Sat, 24 Apr 2004 02:38:42 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3O9cgCB044808; Sat, 24 Apr 2004 02:38:42 -0700 (PDT) (envelope-from mtm) Message-Id: <200404240938.i3O9cgCB044808@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 24 Apr 2004 02:38:42 -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_spinlock.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: Sat, 24 Apr 2004 09:38:42 -0000 mtm 2004/04/24 02:38:42 PDT FreeBSD src repository Modified files: lib/libthr/thread thr_spinlock.c Log: Unconditionaly initialize any spin lock passed to pthread_spin_init(). While makeing sure the spinlock isn't already in use might be a nice feature to have in theory, it's hard to implement in practice since the passed in pointer may not be NULL, but still be an invalid value (i.e. 1..2..3.. etc). Revision Changes Path 1.10 +0 -4 src/lib/libthr/thread/thr_spinlock.c