36#include <Inventor/C/basic.h>
37#include <Inventor/C/threads/common.h>
45typedef void cc_worker_f(
void *);
46typedef void cc_worker_idle_f(cc_worker *,
void *);
48 COIN_DLL_API cc_worker * cc_worker_construct(
void);
49 COIN_DLL_API
void cc_worker_destruct(cc_worker * worker);
51 COIN_DLL_API SbBool cc_worker_start(cc_worker * worker,
52 cc_worker_f * workfunc,
void * closure);
53 COIN_DLL_API SbBool cc_worker_is_busy(cc_worker * worker);
54 COIN_DLL_API
void cc_worker_wait(cc_worker * worker);
55 COIN_DLL_API
void cc_worker_set_idle_callback(cc_worker * worker,
56 cc_worker_idle_f * idlefunc,
void * closure);