TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mario Semo
from: Phil Crown
date: 1996-01-28 00:24:10
subject: pdpclib

-=> Quoting Mario Semo to Phil Crown <=- 

 MS> thread2
 MS> {
 MS> lock resource xxx
 MS> ....
 MS> }

 MS> so, when thread1 is changing the first element in xxx, xxx is lockt
 MS> and thread2 have to wait until thread1 is done with xxx.  

Thanks, I didn't know lock existed... :-)

Phil
Fido:  1:124/8014.1 | Internet:  phil.crown{at}bluecafe.com


--- Blue Wave/OS2 v2.22b
* Origin: The Wild! Blue BBS -=* Home of The Blue Wave *=- (1:2240/176)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 2240/176 234/100 270/101 712/515 711/808 809 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™.