TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Grillet
from: David Noon
date: 1997-01-16 21:05:08
subject: DosEnterCritSec()

On Monday, 97/01/13, Andrew Grillet wrote to James R. Cook about
"DosRead blocking" as follows:

AG> I understood that DosEnterCritSec was just another name for 
AG> disable_interrupts.
AG> 
AG> Is that not the case?

Hi Andrew,

No, it isn't.

A call to DosEnterCritSec() simply tells the OS/2 dispatcher not to
dispatch any other threads within that process. The process can be
pre-empted and other processes dispatched.

Regards

Dave


 * KWQ/2 1.2i * Vegetarian (n): Indian word for "lousy hunter".
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 54/99 270/101 620/243 625/110 160 711/401 409 410 413 430 808
SEEN-BY: 711/809 934 955 712/311 407 505 506 517 623 624 704 713/317 800/1
@PATH: 440/4 141/209 270/101 712/624 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™.