From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6UM4-0005Ts-Nb for qemu-devel@nongnu.org; Fri, 06 Nov 2009 14:20:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6UM0-0005NI-2D for qemu-devel@nongnu.org; Fri, 06 Nov 2009 14:20:15 -0500 Received: from [199.232.76.173] (port=44548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6ULz-0005Mz-4o for qemu-devel@nongnu.org; Fri, 06 Nov 2009 14:20:11 -0500 Received: from mail-yx0-f188.google.com ([209.85.210.188]:41171) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6ULx-0001r1-Pb for qemu-devel@nongnu.org; Fri, 06 Nov 2009 14:20:10 -0500 Received: by yxe26 with SMTP id 26so1159730yxe.4 for ; Fri, 06 Nov 2009 11:20:09 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <296914565.2513861257534600624.JavaMail.root@mail-01.cse.ucsc.edu> References: <1423348936.2513841257534586216.JavaMail.root@mail-01.cse.ucsc.edu> <296914565.2513861257534600624.JavaMail.root@mail-01.cse.ucsc.edu> From: Blue Swirl Date: Fri, 6 Nov 2009 21:19:48 +0200 Message-ID: Subject: Re: [Qemu-devel] SPARC user mode multithread Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Munday Cc: qemu-devel@nongnu.org On Fri, Nov 6, 2009 at 9:10 PM, David Munday wrote: > Hi, > Sorry forgot attachment! I have attached it to this email now. I also noticed that the last line should assign the pid to the child, but I didn't see where I can find that info and pass it into the cpu_clone_regs function. Maybe just call getpid()?