From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 27 11:23:01 2003 Return-Path: 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 685D516A4CE for ; Thu, 27 Nov 2003 11:23:01 -0800 (PST) Received: from mwinf0302.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8798E43FA3 for ; Thu, 27 Nov 2003 11:23:00 -0800 (PST) (envelope-from rmkml@wanadoo.fr) Received: from [192.168.1.2] (AVelizy-109-1-3-170.w217-128.abo.wanadoo.fr [217.128.40.170]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 2A026C00034F for ; Thu, 27 Nov 2003 20:22:59 +0100 (CET) Date: Thu, 27 Nov 2003 20:20:04 +0100 (CET) From: rmkml X-X-Sender: rmkml@hp.mgn.net To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: question about _exit() function X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 19:23:01 -0000 Hi, is the _exit() function safe for a thread ? my program use vfork() and then execve in a thread context. The documentation mentions that the process has to call _exit() in case of failure. But this _exit() is really safe for the parent thread ? Thanks in advance for the reply.