Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-c-0.39.0
-
None
-
None
Description
The accessor proton::link::work_queue() returns a reference to the proton::work_queue(), but making that call uses the link::container() method that increases the refcount on the pn_connection, making this function uncallable from outside of the work_queue.
I believe the documentation should make that explicit, or the function should be changed to be thread safe.