#include <thread.h>
Public Types | |
enum | Priority |
Public Member Functions | |
Thread (const SigC::Slot0< void > &slot, bool joinable=false) | |
Thread (const SigC::Slot0< void > &slot, unsigned long stacksize, bool joinable, bool bound, Priority priority=Normal) | |
Thread (const Thread &th) | |
~Thread () | |
Thread & | operator= (const Thread &th) |
bool | join () |
bool | operator== (const Thread &th) const |
bool | operator!= (const Thread &th) const |
Static Public Member Functions | |
static Thread | self () |
Classes | |
class | Exit |
Thread exit exception. More... |
Class representing a thread (lightweight process).
|
Thread priorities.
|
|
Constructor. Create a new thread, using slot as main function.
|
|
Constructor. Create a new thread, using slot as main function. In general, avoid using this constructor, when you can use Thread::Thread(joinable).
|
|
Copy constructor.
|
|
Destructor.
|
|
Join thread.
Waits until the thread finishes., i.e. Thread::main(arg) returns. All resources of thread are released. The thread must have been created with
|
|
Check for Thread unequality.
|
|
Assignment operator.
|
|
Check for Thread equality.
|
|
Get current thread.
|