TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Darin McBride
date: 1996-04-11 22:26:59
subject: Timing out a REXX program

MB> This will not achieve what I want.  The goal is to time out a Rexx 
 MB> function call -- in the RXFTP library, as it happens -- 
 MB> if it takes too long.  The idea is that I am starting 
 MB> an FTP session and do not want to hang forever if the 
 MB> FTP server goes away unilaterally.  Ideally, the RXFTP 
 MB> library would have the necessary timeout facility built 
 MB> into it, but it doesn't.  I am willing to have the 
 MB> whole Rexx program die if a timeout expires; I just 
 MB> want to guarantee that the Rexx program terminates 
 MB> somehow within a specified worst case maximum amount of 
 MB> time.  If the Rexx program is still running well enough 
 MB> to make calls to the time() function, then I don't need 

Try using Watcom's VX-REXX to get multi-threading.  :-)

(That's at least one of the DLL's available for multi-threading...)



--- Maximus/2 3.01
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)
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: 342/5015 61 3615/50 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™.