From owner-freebsd-hackers Wed Jan 6 20:22:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29425 for freebsd-hackers-outgoing; Wed, 6 Jan 1999 20:22:55 -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 UAA29420 for ; Wed, 6 Jan 1999 20:22:53 -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 VAA01398; Wed, 6 Jan 1999 21:22:05 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA19758; Wed, 6 Jan 1999 21:22:03 -0700 Date: Wed, 6 Jan 1999 21:22:03 -0700 Message-Id: <199901070422.VAA19758@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: Don.Lewis@tsc.tdk.com (Don Lewis), nate@mt.sri.com, rb@gid.co.uk, narvi@haldjas.folklore.ee, wes@softweyr.com, bright@hotjobs.com, hackers@FreeBSD.ORG Subject: Re: question about re-entrancy. In-Reply-To: <199901070221.TAA08125@usr09.primenet.com> References: <199901062300.PAA01961@salsa.gv.tsc.tdk.com> <199901070221.TAA08125@usr09.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 > You are locking code entrancy based on exactly that: the operation you > intend to do is represented by the code you are about to run. The > code that you are about to run doesn't necessarily touch all parts > of the object, nor does it necessarily apply to only one object or > one list of objects of which the object you intend to operate upon > is a member. Then make what is locked 'smaller'. The lock doesn't *HAVE TO* lock down things big. I can be used to lock down any size of thing you want it to. Still, eventually you'll end up with an 'object' which is locked, which represents the smallish entity you want locked down. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message