mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
91758423cd
There are four possible lock states: 1. Nothing 2. HasLock 3. HasBlockingLock 4. WaitLock The previous switch was implementing the following state transition: s\n| 1 | 2 | 3 | 4 ---+---+---+---+--- 1 | 1 | 2 | 3 | 4 ---+---+---+---+--- 2 | 2 | 2 | 3 | 4 ---+---+---+---+--- 3 | 3 | 3 | 3 | 4 ---+---+---+---+--- 4 | 4 | 4 | 4 | 4 As can be seen, the switch effectively searches for the highest state possible. This change implements it as such. |
||
---|---|---|
.. | ||
tracy_benaphore.h | ||
tracy_flat_hash_map.hpp | ||
tracy_sema.h | ||
TracyCharUtil.hpp | ||
TracyEvent.hpp | ||
TracyFileRead.hpp | ||
TracyFileWrite.hpp | ||
TracyImGui.hpp | ||
TracyMemory.cpp | ||
TracyMemory.hpp | ||
TracyPopcnt.hpp | ||
TracySlab.hpp | ||
TracyVector.hpp | ||
TracyView.cpp | ||
TracyView.hpp |