Sweep and remove mutexes where possible
Closed this issue · 1 comments
pyamsoft commented
Mutexes are in theory twice as expensive as an atomic coroutine's operation, as a mutex itself must internally apply an atomic operation to lock and another to unlock.
We should be able to kill mutex via a MSF update method, and for situations where we don't need observability, a lighter class could be implemented.
pyamsoft commented
Actually, since a mutex is not synchronized, it is also implemented with purely wait loop atomics, so theres no real benefit to changing code.