TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Darin McBride
date: 1997-02-07 15:54:32
subject: Subject:os2 dialer with dial on demand

-=> Quoting Darin McBride to Phil Crown <=-

 DM> [ftp://hobbes.nmsu.edu/os2/dev32/rexx/rxsem02b.zip has my _real_
 DM> semaphore support for REXX - using Mutex semaphores that are really
 DM> supported by the schedular of the OS!   i.e., maps some API
 DM> calls...] 
 DM> Ok, not so perfect, but a great start.  :-)  I 
 DM> didn't even think about
 DM> rexx... :-)

 PC> I saw your rxsem*.zip (the first one you uploaded) at hobbes.

That first one has a significant bug if you were to timeout on a semaphore.
 It worked in every other case (i.e., just waiting infinitely for a
semaphore), but not with timeouts (would always return the wrong answer). 
Mind you, the first one was merely REXXSEM.ZIP, not RXSEM*.ZIP... 
RXSEM02B.ZIP has the fixed version (released merely two days after the
first version... haven't had to fix anything since... so it's looking
stable now ).

 PC> Nice looking package, and I would be using it except I already wrote my
 PC> own REXX DLL to call event/mutex/muxwait semaphores.

Perhaps we should discuss the event semaphores... I haven't implemented any
of those, and was hoping to do so eventually.

 PC> My only problem is that I never was able to get my dll linked with the
 PC> static runtime (/Gd-).  I was having some kind of initialization problem
 PC> when calling the MyLoadFuncs from more than one process.

What compiler are you using?  If you perhaps remember back to shortly
before RXSEM was released, I complained about serious init problems ... and
the last problem I had was initializing from more than one process.  The
solution, under Watcom anyway, was to use 'op e' (many instances of data
segment), 'initi' (initialize on each instance), and 'termi'
(terminate/destroy on each instance).  Look for the switches that do this
for your compiler (linker, actually) and you'll be all set.

 PC> I may switch to your package if I ever write anything that I want to
 PC> distribute. :-)

:-)

 PC> Phil Crown  pcrown{at}airmail.net  http://web2.airmail.net/pcrown/

Is your package available?  On the web, perhaps?  No point in having two
unfinished REXX semaphore libraries when we could combine the features into
one unfinished REXX semaphore library... :-)

[Perpetually beta (freeware) software: never released - never finished.]


--- Maximus/2 3.01
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 342/5015 61 3615/50 396/1 270/101 712/624 711/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™.