Date: Tue, 5 Jan 1999 15:42:00 -0700 From: Nate Williams <nate@mt.sri.com> To: Bob Bishop <rb@gid.co.uk> Cc: Nate Williams <nate@mt.sri.com>, Narvi <narvi@haldjas.folklore.ee>, Terry Lambert <tlambert@primenet.com>, Wes Peters <wes@softweyr.com>, bright@hotjobs.com, hackers@FreeBSD.ORG Subject: Re: question about re-entrancy. Message-ID: <199901052242.PAA10308@mt.sri.com> In-Reply-To: <l03020903b2b842a7c47f@[194.32.164.2]> References: <Pine.BSF.3.96.990105223702.5112Y-100000@haldjas.folklore.ee> <199901052008.NAA09332@mt.sri.com> <199901052043.NAA09607@mt.sri.com> <l03020903b2b842a7c47f@[194.32.164.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
> >A 'critical section of code' is a portion of the code that is accessing > >a shared resource, which can be protected by using an object lock. > > Erm, make that "...accessing *one or more* shared resources.", which is why > it isn't the same thing as an object lock (except in the degenerate case). Sure it is. The object lock is used to 'protect' the shared resources. This is multithreading/tasking 101 stuff, not rocket science. 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?199901052242.PAA10308>