Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 1999 21:22:03 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Terry Lambert <tlambert@primenet.com>
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.
Message-ID:  <199901070422.VAA19758@mt.sri.com>
In-Reply-To: <199901070221.TAA08125@usr09.primenet.com>
References:  <199901062300.PAA01961@salsa.gv.tsc.tdk.com> <199901070221.TAA08125@usr09.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901070422.VAA19758>