From owner-freebsd-smp Mon Apr 28 11:30:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA29742 for smp-outgoing; Mon, 28 Apr 1997 11:30:15 -0700 (PDT) Received: from caipfs.rutgers.edu (root@caipfs.rutgers.edu [128.6.155.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA29735 for ; Mon, 28 Apr 1997 11:30:13 -0700 (PDT) Received: from jenolan.caipgeneral (jenolan.rutgers.edu [128.6.111.5]) by caipfs.rutgers.edu (8.8.5/8.8.5) with SMTP id OAA25600; Mon, 28 Apr 1997 14:23:51 -0400 (EDT) Received: by jenolan.caipgeneral (SMI-8.6/SMI-SVR4) id OAA00328; Mon, 28 Apr 1997 14:22:33 -0400 Date: Mon, 28 Apr 1997 14:22:33 -0400 Message-Id: <199704281822.OAA00328@jenolan.caipgeneral> From: "David S. Miller" To: terry@lambert.org CC: ccsanady@nyx.pr.mcs.net, black@zen.cypher.net, chuckr@mat.net, FreeBSD-SMP@FreeBSD.org In-reply-to: <199704281750.KAA02220@phaeton.artisoft.com> (message from Terry Lambert on Mon, 28 Apr 1997 10:50:21 -0700 (MST)) Subject: Re: SMP Sender: owner-smp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk From: Terry Lambert Date: Mon, 28 Apr 1997 10:50:21 -0700 (MST) The getppid is a bit more of a problem, if one thread of a process is disassociating (becoing a child of init) at the time another thread is calling; so you need to be careful with your assumptions to not screw future multithreading. getppid() can be done with no locking...