DanielChappuis/reactphysics3d

Are different dworlds threadsafe?

Omroth opened this issue · 4 comments

Omroth commented

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

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

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

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.

I am closing this issue. Feel free to open a new discussion if needed.