![]() |
http://www.sim.no http://www.coin3d.org |
A class for managing threads.This class provides a portable framework around the tasks of instantiating, starting, stopping and joining threads. More...
#include <Inventor/threads/SbThread.h>
Public Member Functions | |
SbBool | join (void **retval=0L) |
Static Public Member Functions | |
static SbThread * | create (void *(*func)(void *), void *closure) |
static void | destroy (SbThread *thread) |
static SbBool | join (SbThread *thread, void **retval=0L) |
Protected Member Functions | |
SbThread (cc_thread *thrd) | |
~SbThread (void) | |
A class for managing threads.
This class provides a portable framework around the tasks of instantiating, starting, stopping and joining threads.
It wraps the underlying native thread-handling toolkit in a transparent manner, to make multiplatform threads programming straightforward for the application programmer.
|
inlineprotected |
Protected constructor handling the internal thread ADT.
Referenced by create().
|
inlineprotected |
Destructor.
|
inlinestatic |
This function creates a new thread, or returns NULL on failure.
References SbThread().
|
inlinestatic |
This function destroys a thread.
|
inline |
This function waits on the death of the given thread, returning the thread's return value at the location pointed to by retval
.
|
inlinestatic |
This function waits on the death of the given thread, returning the thread's return value at the location pointed to by retval
.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Fri Feb 17 2017 for Coin by Doxygen. 1.8.13