[Oorexx-devel] How to halt all threads of a certain RexxInterpreter instance ?

2009-05-01 Thread Rony G. Flatscher
One is able to use RexxSetHalt(tid) to halt/terminate a Rexx program
running in the given tid (thread id). If supplying zero (0) as the
tid, then all running Rexx threads will be halted.

Now, running multiple RexxInterpreter instances, which may have multiple
spawned Rexx threads. How could one halt all threads that belong to a
given RexxInterpreter instance?

---rony



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] How to halt all threads of a certain RexxInterpreter instance ?

2009-05-01 Thread Rony G. Flatscher

Rick McGuire wrote:
 Well, you might try using the Halt() API defined on the interpreter instance.
   
That's great, thank you !

---rony

 On Fri, May 1, 2009 at 3:00 PM, Rony G. Flatscher
 rony.flatsc...@wu-wien.ac.at wrote:
   
 One is able to use RexxSetHalt(tid) to halt/terminate a Rexx program
 running in the given tid (thread id). If supplying zero (0) as the
 tid, then all running Rexx threads will be halted.

 Now, running multiple RexxInterpreter instances, which may have multiple
 spawned Rexx threads. How could one halt all threads that belong to a
 given RexxInterpreter instance?

 ---rony
 


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel