sprint 1-alpha
|
a java-like runnable task using virtual function. class must implement a void *the_thread() method. More...
#include <thread.h>
Inherits sprint::thread.
Public Member Functions | |
virtual void * | the_thread ()=0 |
class must implement the thread method | |
void | run () |
run the thread method |
a java-like runnable task using virtual function. class must implement a void *the_thread() method.
class MyClass: public sprint::runnable { void *the_thread() { .... } }; .... MyClass class; class.run(); class.join();