27 #include <Inventor/C/basic.h>
28 #include <Inventor/C/threads/common.h>
44 typedef void cc_sched_f(
void * closure);
48 COIN_DLL_API cc_sched * cc_sched_construct(
int numthreads);
49 COIN_DLL_API
void cc_sched_destruct(cc_sched * sched);
50 COIN_DLL_API
void cc_sched_set_num_threads(cc_sched * sched,
int num);
51 COIN_DLL_API
int cc_sched_get_num_threads(cc_sched * sched);
53 COIN_DLL_API uint32_t cc_sched_schedule(cc_sched * sched,
54 cc_sched_f * workfunc,
57 COIN_DLL_API SbBool cc_sched_unschedule(cc_sched * sched,
59 COIN_DLL_API
void cc_sched_wait_all(cc_sched * sched);
60 COIN_DLL_API
int cc_sched_get_num_remaining(cc_sched * sched);
61 COIN_DLL_API
void cc_sched_set_num_allowed(cc_sched * sched,
int num);
62 COIN_DLL_API
void cc_sched_change_priority(cc_sched * sched,