Make creating/destroying entities thread safe #3

Open
opened 2026-05-06 21:22:43 +00:00 by larssonmartin1998 · 0 comments

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)

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)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
larssonmartin1998/atlas#3
No description provided.