sprint 1-alpha
Public Member Functions
sprint::runnable Class Reference

a java-like runnable task using virtual function. class must implement a void *the_thread() method. More...

#include <thread.h>

Inherits sprint::thread.

List of all members.

Public Member Functions

virtual void * the_thread ()=0
 class must implement the thread method
void run ()
 run the thread method

Detailed Description

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();

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines