[
https://issues.apache.org/jira/browse/QPID-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Conway resolved QPID-684.
------------------------------
Resolution: Won't Fix
At this point this change would be too disruptive and not sufficiently
beneficial to be worthwhile.
> Use non-recursive mutexes for c++ qpid::sys::Mutex
> --------------------------------------------------
>
> Key: QPID-684
> URL: https://issues.apache.org/jira/browse/QPID-684
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client
> Affects Versions: M3
> Reporter: Alan Conway
> Priority: Minor
>
> Switch qpid::sys::Mutex to use non-recursive mutexes and fix any deadlocks
> that result.
> We should never be locking recursively and we want to get an obvious
> error/deadlock if we do so we can fix the problem.
> Recursive mutexes are a Bad Thing, google for the apology by the guy who
> invented them if you want to know more. He never intended them to be used
> for anything other than as a gross hack for when you had to make
> thread-unsafe libraries thread safe but didn't have time to design it
> properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]