mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
A type 0 signal read the semaphore, added one and wrote it back, so an increment made by a CPU thread or another queue in between was lost. Signals now store or add with atomic operations and a wait takes one with a compare-exchange. The new test races two queues and a CPU thread incrementing the same word. Co-Authored-By: Claude Opus 5.5 <[email protected]>