From owner-freebsd-hackers Tue Jan 5 14:49:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24080 for freebsd-hackers-outgoing; Tue, 5 Jan 1999 14:49:47 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24059 for ; Tue, 5 Jan 1999 14:49:43 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA18125; Tue, 5 Jan 1999 15:49:09 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA10421; Tue, 5 Jan 1999 15:49:08 -0700 Date: Tue, 5 Jan 1999 15:49:08 -0700 Message-Id: <199901052249.PAA10421@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Terry Lambert Cc: nate@mt.sri.com (Nate Williams), narvi@haldjas.folklore.ee, wes@softweyr.com, bright@hotjobs.com, hackers@FreeBSD.ORG Subject: Re: question about re-entrancy. In-Reply-To: <199901052245.PAA24981@usr02.primenet.com> References: <199901052008.NAA09332@mt.sri.com> <199901052245.PAA24981@usr02.primenet.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > The third way (about which Terry did talk) is to have locks around > > > critical sections. > > > > That *is* what an 'object lock' in RTEMS is. > > No. An object lock is associated with an object. A critical section > lock is associated with a section of code. An object lock can be associated with a lock that does nothing but associate itself with a critical section. *sheesh* This ain't rocket science. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message