Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are different dworlds threadsafe? #346

Open
ghost opened this issue Jul 8, 2023 · 3 comments
Open

Are different dworlds threadsafe? #346

ghost opened this issue Jul 8, 2023 · 3 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Jul 8, 2023

Can I use two different dworlds from the same PhysicsCommon on different threads with no mutexing?

@DanielChappuis
Copy link
Owner

Multi-threading is not currently supported by the library. I hope to work on that soon.

@ghost
Copy link
Author

ghost commented Jul 9, 2023

Thank you. Could I currently use two PhysicsCommons, on different threads?

@DanielChappuis
Copy link
Owner

You can try but there are some static fields in the PhysicsCommon class and you could have issues with that if you instanciate two instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant