mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-11 23:38:11 -07:00
f30f0c1938
if thread A waiting for acquire(), thread B calls release() halfway through release() code, A would wake up and continue, before B finishes release() this could cause use-after-free if A free()s semaphore after acquire