Skip to content

Can I configure Flecs to never use Main thread for systems? #1041

Answered by SanderMertens
trsh asked this question in Q&A
Discussion options

You must be logged in to vote

You can call world.progress() in a thread that's not the main thread!

Note though that the API is not inherently thread safe, so while a world is progressing you should not try to read or write to it from other threads.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants