qpid-proton icon indicating copy to clipboard operation
qpid-proton copied to clipboard

PROTON-2792: [C++] check that scheduled tasks are active under lock

Open astitcher opened this issue 11 months ago • 1 comments

Previously we checked whether the tasks were active without locking which was bad.

This is is an alternative fix (which has the correct semantics) to #421.

I think it probably still needs a test for the fixed behaviour and the correct semantics before merging. This would be new tests in container_test.cpp

astitcher avatar Mar 08 '24 02:03 astitcher

Yes, this fixes the issue while preserving the semantics, thank you.

zlomek avatar Mar 08 '24 10:03 zlomek

+1 I will merge this.

cliffjansen avatar Mar 19 '24 00:03 cliffjansen