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.
Rick On Sat, Jan 23, 2010 at 7:16 PM, Rick McGuire <[email protected]> wrote: > If you can post stack traces for all of the active threads at the > point of the hang, that might help. Also, the following lines in > InterpreterInstance::detachThread(RexxActivity *activity) > > > // Was this the last detach of an thread? Signal the shutdown event > if (allActivities->items() == 0 && terminating) > { > terminationSem.post(); > } > > Should be getting executed on the detach to tell the main thread that > it's ok to shut down. it's possible the test might be incorrect for > deciding if the terminationSem needs to be posted. > > Rick > > On Sat, Jan 23, 2010 at 7:10 PM, Mark Miesfeld <[email protected]> wrote: >> On Sat, Jan 23, 2010 at 4:07 PM, Rick McGuire <[email protected]> wrote: >>> On Sat, Jan 23, 2010 at 7:05 PM, Mark Miesfeld <[email protected]> wrote: >>>> >>>> Okay. I'm on 64-bit XP. I don't see how that would make a >>>> difference. I'll do some more investigation. >>>> >>>> So what you see is something like: >>>> >>>> In Rexx method ONDTPCLOSEUP. Thread ID: 436 >>>> <long delay> >>>> Leaving Rexx method ONDTPCLOSEUP. Thread ID: 436 >>>> In Rexx method OK. Thread ID: 4464 >>>> Leaving Rexx method OK. Thread ID: 4464 >>> >>> Yep, that's exactly what I see. >> >> Okay Rick, thanks for taking a look at it. I'll have to figure out >> why it is behaving differently for me. >> >> -- >> 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 >> > ------------------------------------------------------------------------------ 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
