TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Doug Nazar
date: 1996-06-21 05:34:20
subject: semaphore

Hello Peter!

Thursday June 20 1996 15:38, Peter Fitzsimmons wrote to Darin McBride:

PF> That may have been true for 16bit OS/2,  but not 32bit OS/2.  You should be
PF> taking _extreme_ pains to _never_ use DosEnterCritSec().  It is like using
PF> a nuclear bomb to kill a field mouse.  It is very multi-tasking unfriendly,
PF> and will severly and adversely affect a program running on SMP os/2.

I did notice that IBM VA uses it alot in their initialization code. I guess
one instance where you might use it is during _DLL_InitTerm.

Doug

--- GoldED/2 2.50+
* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 250/516 101 99 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.