Date: Tue, 03 Oct 2000 09:28:39 -0600 From: Chuck Paterson <cp@bsdi.com> To: John Baldwin <jhb@freebsd.org> Cc: Alfred Perlstein <bright@wintelcom.net>, arch@freebsd.org, John Polstra <jdp@polstra.com>, Daniel Eischen <eischen@vigrid.com>, Matt Dillon <dillon@earth.backplane.com>, Greg Lehey <grog@lemis.com> Subject: Re: Mutexes and semaphores Message-ID: <200010031528.JAA10873@berserker.bsdi.com> In-Reply-To: Your message of "Tue, 03 Oct 2000 01:04:02 PDT." <XFMail.001003010402.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.ORG> To: Alfred Perlstein <bright@wintelcom.net> Subject: Re: Mutexes and semaphores cc: arch@FreeBSD.ORG, John Polstra <jdp@polstra.com>, Daniel Eischen <eischen@vigrid.com>, Matt Dillon <dillon@earth.backplane.com>, Greg Lehey <grog@lemis.com> 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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010031528.JAA10873>