TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James R. Cook
from: Andrew Grillet
date: 1997-01-13 08:55:22
subject: DosRead blocking

HI James,

-=> On 09 Jan 97  18:48:24 James R. Cook said to Phil Crown <=-


 JRC> :)  I understand.  *sigh*  Is there an alternative to using Mutex
 JRC> semaphores?  They seem to take a *LONG* time to lock/unlock (or is
 JRC> that block/unblock).  I recall seeing some code that used the
 JRC> DosEnterCritSec or something like that to update the global buffers. 
 JRC> That's not "right" but it seemed to be more efficient.

I understood that DosEnterCritSec was just another name for disable_interrupts.

Is that not the case?

Andrew



... A chip on the shoulder means wood further up.
--- Blue Wave/Max v2.30 [NR]
* Origin: Me/2 (2:254/259)
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: 254/259 442/403 255/1 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™.