]> git.tdb.fi Git - libs/game.git/commit
Implement commit barriers in SystemScheduler
authorMikko Rasa <tdb@tdb.fi>
Sun, 23 Mar 2025 12:10:02 +0000 (14:10 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 23 Mar 2025 12:12:53 +0000 (14:12 +0200)
commit8606eb92f4a058a4ea53901e625f56a87c7d6f25
tree42adfcf6f2e8386dadbe0725f0e1c96f043e67b7
parent19e7c0080c67162f63346b904835a0c4562584a2
Implement commit barriers in SystemScheduler

In a multithreaded environment systems which write to a component must
wait until potential concurrent reads have finished before committing
the changes.
source/game/systemscheduler.cpp
source/game/systemscheduler.h
tests/scheduler.cpp