Hi Everybody,
Which would be the more convenient way to synchronize user defined threads?
To put in context, I amb running VRJuggler in a clustered system with several machines. At some point, all machines need to perform some costly computations (e.g. load some big models from disk), and for that they create and start a new thread in preFrame(). The threads are now running concurrently doing their task while the application keeps running and rendering without blocking. Then, after some time all threads will eventually finish, and that won't necessarily happen in the same frame. I would like though joining all threads at the same moment to avoid undeterministic behaviours.
Is there an easy way to do that already???
Thanks in advance!