From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 22 16:33:59 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A6A16A41F; Wed, 22 Jun 2005 16:33:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (unknown [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DCA643D1F; Wed, 22 Jun 2005 16:33:57 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j5MEpXX1053144; Wed, 22 Jun 2005 08:51:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 22 Jun 2005 08:53:00 -0600 (MDT) Message-Id: <20050622.085300.82192668.imp@bsdimp.com> To: deischen@freebsd.org From: "M. Warner Losh" In-Reply-To: References: <34cb7c8405062207246b582eaf@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: spork@fasttrackmonkey.com, hackers@freebsd.org, kamalp@acm.org, peadar.edwards@gmail.com Subject: Re: Nagios and threads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2005 16:33:59 -0000 In message: Daniel Eischen writes: : We do protect the malloc lock across a fork(), but that's it. With 4.x libc_r, you could easily get hangs accross a fork() if you did anything before the exec (like setup fd's for stdin/out). This was due to internal libc_r state being inconsistant. Warner