36#include <Inventor/C/basic.h>
37#include <Inventor/C/threads/common.h>
53typedef void cc_sched_f(
void * closure);
57 COIN_DLL_API
cc_sched * cc_sched_construct(
int numthreads);
58 COIN_DLL_API
void cc_sched_destruct(
cc_sched * sched);
59 COIN_DLL_API
void cc_sched_set_num_threads(
cc_sched * sched,
int num);
60 COIN_DLL_API
int cc_sched_get_num_threads(
cc_sched * sched);
62 COIN_DLL_API uint32_t cc_sched_schedule(
cc_sched * sched,
63 cc_sched_f * workfunc,
66 COIN_DLL_API SbBool cc_sched_unschedule(
cc_sched * sched,
68 COIN_DLL_API
void cc_sched_wait_all(
cc_sched * sched);
69 COIN_DLL_API
int cc_sched_get_num_remaining(
cc_sched * sched);
70 COIN_DLL_API
void cc_sched_set_num_allowed(
cc_sched * sched,
int num);
71 COIN_DLL_API
void cc_sched_change_priority(
cc_sched * sched,
The structure for the thread scheduler.
Definition schedp.h:55