Can you create entities in multi-threaded systems? Are observers multi-threaded? #1198
Answered
by
SanderMertens
destructor465
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
destructor465
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I been trying to use flecs in my C++ project. And let me just say it's awesome. I have a few questions if somebody could help me to answer them:
world.entity().add<SomeComponent>();
in the multi-threaded system but it results in fatal errorflecs.c: 6438: assert: ecs_is_alive(world, entity) INVALID_PARAMETER
. I also tried deferring this operation to no luck. So I wonder is it possible to create entities in multi-threaded systems?progress
?Beta Was this translation helpful? Give feedback.
All reactions