From: <bi...@us...> - 2007-12-02 01:16:45
|
Revision: 1373 http://oorexx.svn.sourceforge.net/oorexx/?rev=1373&view=rev Author: bigrixx Date: 2007-12-01 17:16:49 -0800 (Sat, 01 Dec 2007) Log Message: ----------- Fix exception in message multi-threading. Modified Paths: -------------- interpreter-3.x/trunk/kernel/runtime/ActivityManager.cpp Modified: interpreter-3.x/trunk/kernel/runtime/ActivityManager.cpp =================================================================== --- interpreter-3.x/trunk/kernel/runtime/ActivityManager.cpp 2007-12-02 00:20:54 UTC (rev 1372) +++ interpreter-3.x/trunk/kernel/runtime/ActivityManager.cpp 2007-12-02 01:16:49 UTC (rev 1373) @@ -584,12 +584,10 @@ /* Function: Locate the activity associated with a thread */ /******************************************************************************/ { - for (size_t listIndex = activeActivities->firstIndex() ; + for (size_t listIndex = allActivities->firstIndex() ; listIndex != LIST_END; - listIndex = activeActivities->nextIndex(listIndex) ) + listIndex = allActivities->nextIndex(listIndex) ) { - /* Get the next message object to */ - /*process */ RexxActivity *activity = (RexxActivity *)allActivities->getValue(listIndex); if (activity->isThread(threadId)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |