[Home] [Groups] - Message: [Prev in Group] [Next in Group]
730: Re: Unique id's
[Full Header] [Plain Text]
From: clawrenc@cup.hp.com
Newsgroups: nu.kanga.list.mud-dev
Date: Sun, 13 Apr 97 09:27:54 -0700
References: [1]
Organization: Kanga.Nu
In <199704131957.TAA531190@out2.ibm.net>, on 04/13/97
at 12:50 PM, Jeff Kesselman <jeffk@tenetwork.com> said: >
claw@null.net
>>Check into the base code for your CriticalSection. I've seen far to many
>>such blobs whose definition of a critical section is that it is the ONLY
>>thread in the application allowed to execute for the duration. <shudder>
>>(This how OS/2 and Windows handle their "critical section" API's, and I've
>>seen something similar in a library that shall remain nameless for SunOS).
>Um, this IS the DEIFNITION of a "critical section".
>If you are looking to semaphore a epice fo code, you shoudl write a
>real semaphore and call it such.
Yeah, but he appears to be using the term differently, and I don't
have a good reference to enforce that definition. From his comments
(and Jon's later additions) he appears to have cheap mutex relabelled
as a CritSec.
--
J C Lawrence Internet: claw@null.net
(Contractor) Internet: coder@ibm.net
---------------(*) Internet: clawrenc@cup.hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...