#include <Thread.h>
Public Types | |
enum | State { NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED } |
Public Member Functions | |
Thread () | |
Thread (const String &name) | |
Thread (Runnable &target) | |
Thread (Runnable &target, const String &name) | |
Thread (Runnable &target, const String &name, size_t stacksize) | |
virtual | ~Thread () |
virtual void | run () |
virtual String | toString () const throw () |
const String & | getName () const throw () |
Thread::State | getState () const throw () |
void | interrupt () |
bool | interrupted () |
bool | isAlive () const throw () |
bool | isDaemon () const throw () |
bool | isInterrupted () const throw () |
void | join () throw (InterruptedException) |
void | setDaemon (bool on) throw (IllegalThreadStateException) |
void | start () throw (IllegalThreadStateException) |
Static Public Member Functions | |
static void | sleep (jlong millis) throw (InterruptedException) |
static void | yield () |
static Thread * | currentThread () |
Friends | |
class | Object |
class | beecrypt::util::concurrent::locks::ReentrantLock |
void | MonitorEnter (const Object *) |
void | MonitorExit (const Object *) throw (IllegalMonitorStateException) |
beecrypt::lang::Thread::Thread | ( | ) |
beecrypt::lang::Thread::Thread | ( | const String & | name | ) |
beecrypt::lang::Thread::Thread | ( | Runnable & | target | ) |
virtual beecrypt::lang::Thread::~Thread | ( | ) | [virtual] |
static Thread* beecrypt::lang::Thread::currentThread | ( | ) | [static] |
const String& beecrypt::lang::Thread::getName | ( | ) | const throw () |
Thread::State beecrypt::lang::Thread::getState | ( | ) | const throw () |
void beecrypt::lang::Thread::interrupt | ( | ) |
bool beecrypt::lang::Thread::interrupted | ( | ) |
bool beecrypt::lang::Thread::isAlive | ( | ) | const throw () |
bool beecrypt::lang::Thread::isDaemon | ( | ) | const throw () |
bool beecrypt::lang::Thread::isInterrupted | ( | ) | const throw () |
void beecrypt::lang::Thread::join | ( | ) | throw (InterruptedException) |
virtual void beecrypt::lang::Thread::run | ( | ) | [virtual] |
Implements beecrypt::lang::Runnable.
void beecrypt::lang::Thread::setDaemon | ( | bool | on | ) | throw (IllegalThreadStateException) |
static void beecrypt::lang::Thread::sleep | ( | jlong | millis | ) | throw (InterruptedException) [static] |
void beecrypt::lang::Thread::start | ( | ) | throw (IllegalThreadStateException) |
virtual String beecrypt::lang::Thread::toString | ( | ) | const throw () [virtual] |
Reimplemented from beecrypt::lang::Object.
static void beecrypt::lang::Thread::yield | ( | ) | [static] |
friend class beecrypt::util::concurrent::locks::ReentrantLock [friend] |
Reimplemented from beecrypt::lang::Object.
void MonitorEnter | ( | const Object * | ) | [friend] |
void MonitorExit | ( | const Object * | ) | throw (IllegalMonitorStateException) [friend] |
friend class Object [friend] |