From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3B045BBA7 for ; Tue, 22 Nov 2005 21:57:42 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAMKvfpb019274 for ; Tue, 22 Nov 2005 21:57:42 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA21889 for ; Tue, 22 Nov 2005 21:57:41 +0100 (MET) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAMKvebi019268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 22 Nov 2005 21:57:41 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from first.in-berlin.de (e178003105.adsl.alicedsl.de [85.178.3.105]) (authenticated bits=0) by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id jAMKvd8q025854 for ; Tue, 22 Nov 2005 21:57:40 +0100 Received: by first.in-berlin.de (Postfix, from userid 501) id 8922C1A582A; Tue, 22 Nov 2005 21:46:31 +0100 (CET) Date: Tue, 22 Nov 2005 21:46:30 +0100 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Threads & Fork Message-ID: <20051122204630.GA594@first.in-berlin.de> References: <1132673981.13170.17.camel@starlight> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1132673981.13170.17.camel@starlight> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at concorde with ID 43838645.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43838644.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; oliver:01 bandel:01 oliver:01 in-berlin:01 caml-list:01 threads:01 posix:01 threads:01 programming:03 threaded:03 fork:04 fork:04 ciao:10 exec:11 david:14 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 "Avoid using fork in a threaded program (if you can) unless you intend to exec a new program immediately." (David R. Butenhof: Programming with POSIX Threads, p. 197) So better first do the fork, then the threading-stuff... Ciao, Oliver