mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 13:56:27 -05:00
9b38f4fc55
Profiling shows that this is a highly contested mutex, causing dimishing results compared to a OS lock. std::mutex implementations can spin for a while before falling back to an OS lock. This avoids wasting precious CPU cycles in a no-op. |
||
---|---|---|
.. | ||
kernel | ||
service | ||
ipc.h | ||
ipc_helpers.h | ||
lock.cpp | ||
lock.h | ||
result.h |