[Home] [Groups] - Message: [Prev in Group] [Next in Group]
635: Re: Unique id's
[Full Header] [Plain Text]
From: Jeff Kesselman <jeffk@tenetwork.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Sun, 13 Apr 1997 12:50:18 -0700
Organization: Kanga.Nu
At 09:16 AM 4/13/97 -0700, you wrote:
>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.
JK
>
JK