Commit 05c09d62 authored by Xavier Thompson's avatar Xavier Thompson

Fix mistake in cypclass write lock release implementation

parent ae8afa92
......@@ -128,7 +128,7 @@
void CyObject_UNWLOCK() const {
uint32_t prev_readers = HAS_WRITER;
_readers.compare_exchange_weak(prev_readers, 0);
_readers.compare_exchange_strong(prev_readers, 0);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment