#include <Thread.hpp>
Public Types | |
typedef void *(* | ThrFunction )(void *) |
Public Member Functions | |
Thread () | |
Constructor. | |
~Thread () | |
Destructor. | |
void | start (ThrFunction start_routine, void *arg, pthread_attr_t *attr=0) |
Creates a new thread. | |
void | kill () |
Kills the thread. | |
int | join () |
Blocks until the thread terminates. | |
void | exit () |
Terminates the execution of the thread. | |
pthread_t | getID () |
returns the ThreadID |
Definition at line 132 of file Thread.hpp.
|
Definition at line 134 of file Thread.hpp. |
|
Constructor.
Definition at line 114 of file Thread.cpp. |
|
Destructor.
Definition at line 116 of file Thread.cpp. |
|
Terminates the execution of the thread.
Definition at line 163 of file Thread.hpp. |
|
returns the ThreadID
Definition at line 167 of file Thread.hpp. |
|
Blocks until the thread terminates.
Definition at line 128 of file Thread.cpp. References L1394_FAILED, and L1394_SUCCESS. Referenced by L1394_MM::Window::~Window(). |
|
Kills the thread.
Definition at line 134 of file Thread.cpp. |
|
Creates a new thread. The new thread applies the function start_routine passing it arg as first argument. The new thread terminates either explicitly, *
Definition at line 118 of file Thread.cpp. Referenced by L1394_MM::Window::start(). |