From owner-freebsd-current@FreeBSD.ORG Mon Jun 21 10:59:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C6516A4CE for ; Mon, 21 Jun 2004 10:59:56 +0000 (GMT) Received: from smarthost.enta.net (smarthost.enta.net [195.74.97.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id B604F43D1F for ; Mon, 21 Jun 2004 10:59:56 +0000 (GMT) (envelope-from jacs@gnome.co.uk) Received: from smartsmtp.enta.net (smtp.enta.net [195.74.97.230]) by smarthost.enta.net (Postfix) with ESMTP id 0DFDB16E6 for ; Mon, 21 Jun 2004 12:03:15 +0100 (BST) Received: from smtp.enta.net (localhost [127.0.0.1]) by smartsmtp.enta.net (8.12.3/8.12.3) with ESMTP id i5LBHHm1008021 for ; Mon, 21 Jun 2004 12:17:18 +0100 (BST) (envelope-from jacs@gnome.co.uk) Received: from hawk.gnome.co.uk (81-31-113-153.adsl.entanet.co.uk [81.31.113.153]) by smtp.enta.net (Postfix) with SMTP id 573EB96878 for ; Mon, 21 Jun 2004 12:17:17 +0100 (BST) Received: from kite (kite.gnome.co.uk [192.168.123.75]) by hawk.gnome.co.uk (8.12.10/8.12.10) with SMTP id i5LAxct1003718 for ; Mon, 21 Jun 2004 11:59:38 +0100 (BST) (envelope-from jacs@gnome.co.uk) Message-ID: <005b01c4577e$d8e998e0$4b7ba8c0@gnome.co.uk> From: "Chris Stenton" To: Date: Mon, 21 Jun 2004 11:59:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Scanned-By: MIMEDefang 2.43 Subject: pthread - fork - execv problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 10:59:57 -0000 I am trying to help port over an app thats posix threaded. One thread uses fork and execv to start a child programme in this case an mp3 player. However, under FreeBSD-5.2.1, the execv causes all the threads in the parent process to be blocked until the child process returns. Is there a mechanism to get around this. Thanks Chris