Skip to content

Does entt do multithreading by default? #1065

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

You must be logged in to vote

Well, it's like asking if a vector does mt by default. No, it does not, you can use it in a mt context but the vector on itself does nothing because it's just a container. The same is true for EnTT. It's mostly a container. It doesn't try to take over you loop, your code, your systems, your scheduling, whatever. It offers all you need to do this but it's up to you to design your code the way you like, without having to stick with a model imposed by a library.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@trsh
Comment options

@skypjack
Comment options

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
discussion it sounds interesting, let's discuss it
2 participants