From owner-freebsd-arch Tue Oct 3 8:28:43 2000 Delivered-To: freebsd-arch@freebsd.org Received: from berserker.bsdi.com (berserker.twistedbit.com [199.79.183.1]) by hub.freebsd.org (Postfix) with ESMTP id 1E30037B66C; Tue, 3 Oct 2000 08:28:40 -0700 (PDT) Received: from berserker.bsdi.com (cp@LOCALHOST [127.0.0.1]) by berserker.bsdi.com (8.9.3/8.9.3) with ESMTP id JAA10873; Tue, 3 Oct 2000 09:28:39 -0600 (MDT) Message-Id: <200010031528.JAA10873@berserker.bsdi.com> To: John Baldwin Cc: Alfred Perlstein , arch@freebsd.org, John Polstra , Daniel Eischen , Matt Dillon , Greg Lehey Subject: Re: Mutexes and semaphores In-reply-to: Your message of "Tue, 03 Oct 2000 01:04:02 PDT." From: Chuck Paterson Date: Tue, 03 Oct 2000 09:28:39 -0600 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why do yo need a barier for getpid()? A barrier really is not guaranteed to be sufficient for the #if defined(COMPAT_43) || defined(COMPAT_SUNOS) p->p_retval[1] = p->p_pptr->p_pid; #endif case. Chuck ----- Begin Included Message ----- Date: Tue, 03 Oct 2000 01:04:02 -0700 From: John Baldwin To: Alfred Perlstein Subject: Re: Mutexes and semaphores cc: arch@FreeBSD.ORG, John Polstra , Daniel Eischen , Matt Dillon , Greg Lehey On 27-Sep-00 Alfred Perlstein wrote: > Right now I can't even do getpid() properly because we don't have > read/write-barriers. We do have these. I have some helper functions I'll try to run by the new-bus list tonight. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message ----- End Included Message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message