Skip to content

[CountingPrivateSemaphore] Fix assert

Maxim Onciul requested to merge cps-assert-fix into master

As the code comment above the assert indicates, the atomic exchange operation may either return nullptr or a valid Context pointer. And this is what the assert() should assert. :)

Reported-by: Florian Fischer florian.fl.fischer@fau.de

Merge request reports

Loading