Thread Safety in the Bullet API
Posted: Fri Jun 26, 2015 5:02 pm
Hi guys - I couldn't find information on this anywhere: How thread-safe is the bullet API? As an example, could I create a btCollisionShape on one thread, update its local scaling on a second, and then add it to a btDyamicsWorld on a third, before say, removing it from a fourth? (Free threading)
Or do I need to be more careful? (Single-threaded only or explicit synchronization)
I'm only talking about thread safety with respect to calling the API, not synchronization that must be done on my own side (e.g. updating shared lists of rigid bodies etc).
Or do I need to be more careful? (Single-threaded only or explicit synchronization)
I'm only talking about thread safety with respect to calling the API, not synchronization that must be done on my own side (e.g. updating shared lists of rigid bodies etc).