Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
Go to the source code of this file.
Functions | |
cc_barrier * | cc_barrier_construct (unsigned int numthreads) |
void | cc_barrier_destruct (cc_barrier *barrier) |
int | cc_barrier_enter (cc_barrier *barrier) |
cc_barrier* cc_barrier_construct | ( | unsigned int | count | ) |
Constucts a new thread barrier.
void cc_barrier_destruct | ( | cc_barrier * | barrier | ) |
Destroys the barrier thread barrier.
int cc_barrier_enter | ( | cc_barrier * | barrier | ) |
Increments the barrier counter. If equal to the number of threads it then enables all the threads to proceed.