On Sat, Jan 23, 2010 at 4:29 PM, Rick McGuire <[email protected]> wrote:
> Mark, looking through other parts of the code that post the
> terminationSem, the test is for allActivities->items() <= 1, not == 0.
> You might want to try that change to see if it makes your hang go
> away.
Okay. But what I see in
InterpreterInstance::detachThread(RexxActivity *activity) is that on
this test:
if (activity->isNestedAttach())
{
// if we reused the activity because of a nested callback attach, then
// we just decrement the nesting count and return without cleaning up
// any resources.
activity->returnAttach();
return true;
}
isNestedAttach() is true, so it returns and does not get to this code.
// Was this the last detach of an thread? Signal the shutdown event
if (allActivities->items() == 0 && terminating)
{
terminationSem.post();
}
--
Mark Miesfeld
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel