table of contents
other versions
- jessie 3.1.4~abc9f50-7
multithreading_support(3) | Coin | multithreading_support(3) |
NAME¶
multithreading_support - Multithreading Support in Coin The support in Coin for using multiple threads in application programs and the Coin library itself, consists of two main features:- •
- Coin provides platform-independent thread-handling abstraction classes. These are classes that the application programmer can freely use in her application code to start new threads, control their execution, work with mutexes and do other tasks related to handling multiple threads.
- •
- The other aspect of our multi-threading support is that Coin can be specially configured so that rendering traversals of the scene graph are done in a thread-safe manner. This means e.g. that it is possible to have Coin render the scene in parallel on multiple CPUs for multiple rendering pipes, to better take advantage of such high-end systems (like CAVE environments, for instance).
- •
- We do not yet provide any support for binding the multi-threaded rendering support into the SoQt / SoWin / etc GUI bindings, and neither do we provide bindings against any specific library that handles multi-pipe rendering. This means the application programmer will have to possess some expertise, and put in some effort, to be able to utilize multi-pipe rendering with Coin.
- •
- Rendering traversals is currently the only operation which we publicly support to be thread-safe. There are other aspects of Coin that we know are thread-safe, like most other action traversals beside just rendering, but we make no guarantees in this regard.
- •
- Be careful about using a separate thread for changing Coin structures versus what is used for the application's GUI event thread.
Coin 2.0
Thu May 29 2014 | Version 4.0.0a |