aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-03 09:07:38 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-03 09:07:38 -0400
commit8cde9dce47712dccc50afe51b0f1b0b16270d54a (patch)
treef57bc1ea52fda6539eff6983fb8b453d1937ceeb /src/main.cpp
parentfcf0d4efa152844a5b0f54b136d3c756e85bcc29 (diff)
Rewrite `Atomic_RW_Mutex`
This patch simplifies the implementation and fixes #5254. Previously, the mutex was set up as if there could be multiple writers, and there seemed to be some confusion as to which `Writer` bits to check, as not all were checked or set at the same time. This could also result in the mutex being left in a non-zero state even after unlocking all locks. All unneeded state has been removed and extra checks have been put in place.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions