TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Mario Semo
date: 1996-02-27 19:54:28
subject: mutex semaphores

Hello Peter,

On Feb 22 02:57 96, Peter Fitzsimmons of 1:259/414 wrote:

 PF> -- and the example is doltish -- polling in a DosSleep(1) loop;  jeapers.  
 PF> What if the resource is locked for an hour?

mh. in the case i EXPECT an sema4 to be locked for an hour, i do not need
the fasted possible semaphore. 

I'm interested in semaphores which are avail in the next 10microSecs. 

and they suggest to do something like:

if highspeedSema4 avail -> ok
else
  try to use an ordinary sema4

 WARPED!, Mario

--- Msgedsq/2 2.2e
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 50/99 78/0 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: 310/14 1 24/999 2/777 396/1 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™.