From: Jean-Louis F. <jfa...@gm...> - 2011-08-06 12:47:24
|
2011/8/6 Rony G. Flatscher <Ron...@wu...> > ** > > 0 is not a good value for threadid (I saw this value in one of your next > mails). > > > Did use hat particular value, because of the documentation of "10.10.1.1.1. > Parameters" in rexxpg.pdf: > > ah, yes, I didn't read this part of the doc... It seems that RexxSetHalt should be modified to add the first line below : trunk/interpreter/api/InterpreterAPI.cpp RexxReturnCode REXXENTRY RexxSetHalt(process_id_t procid, thread_id_t threadid) { if (threadid == 0) return Interpreter::haltAllActivities(); return RexxHaltThread(threadid); } My understanding : With that change, when threadid == 0, all the interpreter instances are iterated over, and all their threads are halted. Jean-Louis |