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; }
A class for managing threads.
Definition SbThread.h:30
static void destroy(SbThread *thread)
Definition SbThread.h:35
~SbThread(void)
Definition SbThread.h:49
SbBool join(void **retval=0L)
Definition SbThread.h:40
SbThread(cc_thread *thrd)
Definition SbThread.h:48
static SbThread * create(void *(*func)(void *), void *closure)
Definition SbThread.h:32
static SbBool join(SbThread *thread, void **retval=0L)
Definition SbThread.h:43
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.