Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 1999 16:23:34 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        Bob Bishop <rb@gid.co.uk>, Narvi <narvi@haldjas.folklore.ee>, Terry Lambert <tlambert@primenet.com>, bright@hotjobs.com, hackers@FreeBSD.ORG
Subject:   Re: question about re-entrancy.
Message-ID:  <36929EF6.B771B6F3@softweyr.com>
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]> <199901052242.PAA10308@mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams wrote:
> 
> > >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.

Well, it is rocket science if you're working on Pathfinder, which had a
deadly embrace problem that was diagnosed, fixed, and uploaded about
halfway between Earth and Mars.

But it is still elementary multi-threaded programming.  ;^)

-- 
             Where am I, and what am I doing in this handbasket?

Wes Peters                                                     +1.801.915.2061
Softweyr LLC                                                  wes@softweyr.com

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?36929EF6.B771B6F3>