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 
SbThread(cc_thread *thrd)
Definition: SbThread.h:48
~SbThread(void)
Definition: SbThread.h:49
static SbBool join(SbThread *thread, void **retval=0L)
Definition: SbThread.h:43
static SbThread * create(void *(*func)(void *), void *closure)
Definition: SbThread.h:32
SbBool join(void **retval=0L)
Definition: SbThread.h:40
A class for managing threads.This class provides a portable framework around the tasks of instantiati...
Definition: SbThread.h:30
static void destroy(SbThread *thread)
Definition: SbThread.h:35