|
NVBIO
|
A thread class, which is meant to be derived from to construct user-defined threads
| DerivedThreadType | the derived thread class, which must implement a single method: // run the user-defined thread
void run();
|
e.g.
#include <threads.h>
Public Methods | |
| void | create () |
| create the thread More... | |
| void | join () |
| join the thread More... | |
Public Methods inherited from nvbio::ThreadBase | |
| ThreadBase () | |
| ~ThreadBase () | |
| void | set_id (const uint32 id) |
| uint32 | get_id () const |
| void | create (void *(*func)(void *), void *arg) |
| create the thread More... | |
| void | join () |
| join the thread More... | |
|
inline |
|
inline |
1.8.4