41 static SbThread * create(
void *(*func)(
void *),
void * closure) {
42 return new SbThread(cc_thread_construct(func, closure));
44 static void destroy(
SbThread * thread) {
45 cc_thread_destruct(thread->thread);
49 SbBool join(
void **
retval = 0L) {
50 return cc_thread_join(this->thread,
retval) == CC_OK;
53 return cc_thread_join(thread->thread,
retval) == CC_OK;