Home | History | Annotate | Download | only in decpp

Lines Matching defs:Thread

21  * \brief Thread base class.
35 * \brief Thread constructor.
37 Thread::Thread (void)
44 * \brief Destroy thread.
46 * If the thread is currently running, OS is instructed to destroy it
49 Thread::~Thread (void)
56 * \brief Set thread priority.
62 * Sets priority for the thread start(). setPriority() has no effect
63 * if the thread is already running.
65 void Thread::setPriority (deThreadPriority priority)
72 static_cast<Thread*>(arg)->run();
76 * \brief Start thread.
78 * Starts thread that will execute the virtual run() method.
80 * The function will fail if the thread is currently running or has finished
83 void Thread::start (void)
92 * \brief Wait for thread to finish and clean up current thread.
94 * This function will block until currently running thread has finished.
95 * Once the thread has finished, current thread state will be cleaned
96 * and thread can be re-launched using start().
100 void Thread::join (void)
104 throw std::runtime_error("Thread::join() failed");