|
Jive reference manual
|
#include <jem/base/Thread.h>

Public Member Functions | |
| Thread () | |
| virtual void | run ()=0 |
| void | start () |
| void | join () |
| void | join (const Time &timeout) |
| void | cancel () |
| bool | isCancelled () const |
| bool | isAlive () const |
Public Member Functions inherited from jem::Object | |
| virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| virtual long | hashValue () const |
| Returns a hash value for this object. More... | |
| virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More... | |
| Ref< Object > | clone () const |
| Returns a copy of this object. More... | |
Static Public Member Functions | |
| static Thread * | getCurrent () |
| static bool | cancelled () |
| static bool | allowCancel (bool enable) |
| static void | sleep (const Time &timeout) |
| static int | newLocalKey () |
| static Ref< Object > | getLocal (int key) |
| static void | setLocal (int key, const Ref< Object > &obj) |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Static Public Attributes | |
| static const int | NULL_KEY = -1 |
Protected Member Functions | |
| virtual | ~Thread () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Friends | |
| class | ThreadLib |
| class | MainThread |
| jem::Thread::Thread | ( | ) |
|
protectedvirtual |
|
pure virtual |
| void jem::Thread::start | ( | ) |
| void jem::Thread::join | ( | ) |
| void jem::Thread::join | ( | const Time & | timeout | ) |
| void jem::Thread::cancel | ( | ) |
| bool jem::Thread::isCancelled | ( | ) | const |
| bool jem::Thread::isAlive | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
friend |
|
friend |
|
static |