Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Multi-Threading

 [1/8] from: ammoncooke:yah:oo at: 13-Sep-2001 10:34


hi, I am not sure multi-threading is exactly what I am looking for, so please help me here. I want to be running one Reblet, & open another Reblet, from the first one, without jepardizing the first one. I need to be able to have the second one crash without crashing the first one. Thanks!! Ammon

 [2/8] from: ric::getorbital::com at: 13-Sep-2001 9:47


Have you looked at the function 'launch?
>> help launch
USAGE: LAUNCH value /reboot /uninstall /link url /quit /secure-cmd DESCRIPTION: Launches a new REBOL interpreter process. LAUNCH is a native value. ARGUMENTS: value -- The command-line arguments (Type: any-string) REFINEMENTS: /reboot /uninstall /link url -- (Type: any) /quit /secure-cmd -- Ric

 [3/8] from: greggirwin:starband at: 13-Sep-2001 11:46


Hi Ammon, << I am not sure multi-threading is exactly what I am looking for, so please help me here. I want to be running one Reblet, & open another Reblet, from the first one, without jepardizing the first one. I need to be able to have the second one crash without crashing the first one. >> launch maybe? --Gregg

 [4/8] from: ammoncooke:ya:hoo at: 13-Sep-2001 12:47


Um.... I wasn't thinking hard enough when I sent that last email, I will also need to end the process, & access words, & the like from it. Thanks!! Ammon

 [5/8] from: g:santilli:tiscalinet:it at: 13-Sep-2001 19:34


Hello Ammon! On 13-Set-01, you wrote: AC> jepardizing the first one. I need to be able to have the AC> second one crash without crashing the first one. Did you try the LAUNCH function? Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [6/8] from: ammoncooke:ya:hoo at: 13-Sep-2001 13:30


Ya, I tried it. I get an 'inform "Launch can only be launched by launcher programs" Thanks!! Ammon PS I will also need to be able to end the process, & be able to *talk* between the first & second process.

 [7/8] from: greggirwin:starband at: 13-Sep-2001 12:45


Hi Ammon, << Um.... I wasn't thinking hard enough when I sent that last email, I will also need to end the process, & access words, & the like from it. >> I don't know the mechanics enough to provide an example but I'd bet money that you could wrap the call to the script functionality in a try block so you could catch any errors and prevent them from taking down the main app. --Gregg

 [8/8] from: ammoncooke:ya:hoo at: 13-Sep-2001 14:02


Worth a shot, I will look into it. Thanks!! Ammon