The bools could use acquire&release memory order or even relaxed but I didn't think code was worth auditing for such low level optimizations. Sequantial consistent is fast enough but much harder to use incorrectly. The timeLast is protected by CoreSuspender lock. plugin_update is only called when CoreSuspender lock is held. The last_menu is protected by trackmenu_flg loads and stores. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| buildprobe.cpp | ||
| color-dfhack-text.cpp | ||
| counters.cpp | ||
| dumpmats.cpp | ||
| eventExample.cpp | ||
| frozen.cpp | ||
| itemhacks.cpp | ||
| kittens.cpp | ||
| memutils.cpp | ||
| memutils.h | ||
| memview.cpp | ||
| nestboxes.cpp | ||
| notes.cpp | ||
| onceExample.cpp | ||
| rawdump.cpp | ||
| ref-index.cpp | ||
| renderer-msg.cpp | ||
| rprobe.cpp | ||
| stepBetween.cpp | ||
| stockcheck.cpp | ||
| stripcaged.cpp | ||
| tiles.cpp | ||
| tilesieve.cpp | ||
| vectors.cpp | ||
| zoom.cpp | ||