Make creating/destroying entities thread safe #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This also includes the writing to recorded actions which will be used for keeping the cache up to date.
See comment in Archetype.hpp:
// TODO: We need to make the recorded actions failsafe.
// Right now it does not handle the case where the same entity gets created/destroyed during the
// same frame. What if the same entity gets called upon to be destroyed multiple times? This also
// needs to be thread safe later on, this is planned for the thread safety pass upon create/destroy
// entities (#14)