[
https://issues.apache.org/activemq/browse/AMQCPP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-280.
---------------------------------
Resolution: Fixed
Fixed in trunk and applied to 3.1.x branch.
> Missing call to pthread_detach on linux causes temporary resource leak.
> -----------------------------------------------------------------------
>
> Key: AMQCPP-280
> URL: https://issues.apache.org/activemq/browse/AMQCPP-280
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Decaf
> Affects Versions: 3.1
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 3.1.1, 3.2.0
>
>
> The thread function in Decaf should be calling pthread_detach on the thread
> to ensure that thread resources are reclaimed as soon as the thread dies
> instead of waiting until the application terminates. Any thread that is not
> joined before shutting down would not have its pthread internal data
> structures reclaimed until exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.