From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5geM-0004cg-M2 for qemu-devel@nongnu.org; Mon, 09 Jun 2008 08:39:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5geL-0004bu-1S for qemu-devel@nongnu.org; Mon, 09 Jun 2008 08:39:02 -0400 Received: from [199.232.76.173] (port=40081 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5geK-0004bo-U0 for qemu-devel@nongnu.org; Mon, 09 Jun 2008 08:39:00 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:45186) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5geK-0004SM-IQ for qemu-devel@nongnu.org; Mon, 09 Jun 2008 08:39:00 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1849161rvb.22 for ; Mon, 09 Jun 2008 05:38:59 -0700 (PDT) Message-ID: <761ea48b0806090538h17b183bemf72392f7ca94ccc2@mail.gmail.com> Date: Mon, 9 Jun 2008 14:38:59 +0200 From: "Laurent Desnogues" Subject: Re: [Qemu-devel] [4693] Implement thread creation. In-Reply-To: <20080609121231.GA7573@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080608203423.GA28437@localhost.localdomain> <94a0d4530806090453w156730caqc00e1a21bec7efd@mail.gmail.com> <20080609121231.GA7573@localhost.localdomain> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, Jun 9, 2008 at 2:12 PM, Kirill A. Shutemov wrote: >> > But I still have race condition somewhere: >> >> I works fine here, but I had to add since PTHREAD_STACK_MIN >> wasn't defined. > > Have you test vfork()? Given the comment Paul added before the call to clone in do_fork I would expect vfork to fail :) Laurent