I am trying to use PosixThreadSupport and SpuGatheringCollisionDispatcher (like in the Multithreaded Demo) to solve collision detection in multithreading. Unfortunately it crashes my application when there are more than one thread.
Code: Select all
startThreads creating 4 threads.
starting thread 0
started thread 0
starting thread 1
started thread 1
starting thread 2
started thread 2
starting thread 3
started thread 3
sizeof SpuGatherAndProcessWorkUnitInput: 16
Segmentation fault
How can I make bullet work in multithreading ?
Thanks
Vincen