From owner-freebsd-stable@FreeBSD.ORG Tue May 10 06:08:38 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B0EA16A4EF; Tue, 10 May 2005 06:08:38 +0000 (GMT) Received: from sp.dominia.org (efnet-math.org [69.60.109.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA4A43D5E; Tue, 10 May 2005 06:08:37 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.1.12] (63-170-138-118.cst-sg.blacksburg.ntc-com.net [63.170.138.118]) (authenticated bits=0) by sp.dominia.org (8.13.1/8.13.1) with ESMTP id j4A68ZvP015826 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 10 May 2005 02:08:36 -0400 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <378E5258-A3FA-4B3E-8F3E-2E330417966C@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Suleiman Souhlal Date: Tue, 10 May 2005 02:08:28 -0400 To: Daniel Eischen X-Mailer: Apple Mail (2.728) cc: Ewan Todd cc: Peter Jeremy cc: freebsd-stable Subject: Re: Performance issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 06:08:38 -0000 Hi, On May 10, 2005, at 1:24 AM, Daniel Eischen wrote: > No, libc_r wraps execve() and a lot of other syscalls that libpthread > or libthr don't need to. Take a look at libc_r/uthread/ > uthread_execve.c > and you will see it sets the signal mask before exec()ing. Couldn't we do the same thing in libpthread, in the not-threaded case? I apologize if I'm asking stupid questions.. :) -- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org