Threads vector for handling multiple threads. More...
#include <Threads.h>
Public Member Functions | |
bool | create (void *(*method)(void *), void *parameters) |
Creates a new thread and returns true on success. | |
Threads () | |
Constructor. | |
~Threads () | |
Destructor. | |
Private Attributes | |
ThreadsPrivate * | d |
Constructor.
Definition at line 30 of file Threads.cpp.
Destructor.
Definition at line 35 of file Threads.cpp.
bool alvar::Threads::create | ( | void *(*)(void *) | method, |
void * | parameters | ||
) |
Creates a new thread and returns true on success.
method | The method that the thread will execute. |
parameters | The parameters sent to the method. |
Definition at line 40 of file Threads.cpp.
ThreadsPrivate* alvar::Threads::d [private] |