EntityComponentMetaSystem/src
Stephen Seo e61d2724e6 Fix possible data-race with isAlive() calls
Removed isAlive() calls from functions passed to ThreadPool, and instead use an
unordered_set prior to using ThreadPool to "cache" which entities are not alive.
This is so that if a function passed to ThreadPool modifies the ECManager (e.g.
creating a new entity), then there will be no data race from also calling
isAlive(). (Note that this does not protect against "deleting" entities from the
ECManager during use of ThreadPool. It is expected for the caller to do the
"deleting" after use of stored/called functions is finished.)
2022-01-20 14:31:23 +09:00
..
EC Fix possible data-race with isAlive() calls 2022-01-20 14:31:23 +09:00
test Add easyWakeAndWait() to ThreadPool 2021-09-09 15:53:55 +09:00
CMakeLists.txt Fix CMakeLists.txt to use FindThreads 2021-09-07 12:09:02 +09:00