TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: James R. Cook
date: 1997-01-11 01:21:22
subject: DosRead blocking

-=> Quoting Phil Crown to James R. Cook <=-



 PC> For example, I saw an anlogy DosEnterCritSec something like this;

 PC> 

 PC> (Note: persons = threads)

 PC> 

 PC> Say your in the office and you want to go the the bathroom but you

 PC> don't want others going to the bathroom while you are.  You go around

 PC> to each person and tell them to stop *everything* that they are doing

 PC> to be sure that they can't go to the bathroom.  You finish in the

 PC> bathroom, then go back around to each person and tell them to resume

 PC> what they are doing. 

 PC> A mutex semaphore is like going to the bathroom and locking the door.



 *laugh*  I like the analogy!  That helps a lot.  I guess I'll keep using

 the mutex.



 ={) James (}=



--- Blue Wave/DOS v2.30

* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 711/401 409 410 413 430 808
SEEN-BY: 711/809 934 955 712/311 407 505 506 517 623 624 704 841 713/317
SEEN-BY: 800/1
@PATH: 106/2000 396/1 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™.