Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 17 Nov 2002 15:37:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 17 Nov 2002 15:37:59 -0500 Received: from bjl1.asuk.net.64.29.81.in-addr.arpa ([81.29.64.88]:25578 "EHLO bjl1.asuk.net") by vger.kernel.org with ESMTP id ; Sun, 17 Nov 2002 15:37:58 -0500 Date: Sun, 17 Nov 2002 20:44:51 +0000 From: Jamie Lokier To: Ulrich Drepper Cc: Ingo Molnar , Luca Barbieri , Linus Torvalds , Kernel Mailing List Subject: Re: [patch] threading fix, tid-2.5.47-A3 Message-ID: <20021117204451.GA2339@bjl1.asuk.net> References: <3DD7FD86.7000407@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DD7FD86.7000407@redhat.com> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 15 > Instead let the user initialize the memory location the clone call is > supposed to write in with zero. if the value didn't change the > user-level code can detect the error and handle appropriately. Does that work? Zero is also read if the child was created, did something, and exited with CLEARTID. You can initialise it with -1, though. -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/