activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teemu Torma <te...@torma.org>
Subject Re: [jira] Resolved: (AMQCPP-271) Connection shutdown crashes if the server went down
Date Sun, 06 Dec 2009 15:03:19 GMT
On Saturday 05 December 2009 21:54:55 Timothy Bish (JIRA) wrote:
>
> Just a problem with the examples not shutting down correctly.

Ok, not really the problem I have, I just thought they were related.

I traced my problem being DedicatedTaskRunner::shutdown throwing an exception 
which breaks the session closing.  Shutdown calls Thread::currentThread and in 
multi-threaded process that is not set.  

It also looks that ~DedicatedTaskRunner does not guarantee that join is called 
on the task thread.  I don't know if in practice that ever happens.

Teemu

Mime
View raw message