1 #ifndef COIN_SBTHREAD_H
2 #define COIN_SBTHREAD_H
27 #include <Inventor/SbBasic.h>
28 #include <Inventor/C/threads/thread.h>
33 return new SbThread(cc_thread_construct(func, closure));
36 cc_thread_destruct(thread->thread);
40 SbBool
join(
void ** retval = 0L) {
41 return cc_thread_join(this->thread, retval) == CC_OK;
44 return cc_thread_join(thread->thread, retval) == CC_OK;
48 SbThread(cc_thread * thrd) { this->thread = thrd; }
55 #endif // !COIN_SBTHREAD_H