From owner-freebsd-hackers Tue Jan 5 14:46:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23435 for freebsd-hackers-outgoing; Tue, 5 Jan 1999 14:46:05 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA23423 for ; Tue, 5 Jan 1999 14:46:03 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id PAA27998; Tue, 5 Jan 1999 15:45:28 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpd027876; Tue Jan 5 15:45:24 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id PAA24981; Tue, 5 Jan 1999 15:45:12 -0700 (MST) From: Terry Lambert Message-Id: <199901052245.PAA24981@usr02.primenet.com> Subject: Re: question about re-entrancy. To: nate@mt.sri.com (Nate Williams) Date: Tue, 5 Jan 1999 22:45:12 +0000 (GMT) Cc: narvi@haldjas.folklore.ee, nate@mt.sri.com, tlambert@primenet.com, wes@softweyr.com, bright@hotjobs.com, hackers@FreeBSD.ORG In-Reply-To: <199901052008.NAA09332@mt.sri.com> from "Nate Williams" at Jan 5, 99 01:08:47 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. RTEMS uses real object locks (just like EROS or KeyKOS or ...). See my argument about the relative persistence of objects vs. critical sections. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message