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. More... | |
| Threads () | |
| Constructor. More... | |
| ~Threads () | |
| Destructor. More... | |
Private Attributes | |
| ThreadsPrivate * | d |
| alvar::Threads::Threads | ( | ) |
Constructor.
Definition at line 30 of file Threads.cpp.
| alvar::Threads::~Threads | ( | ) |
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.
|
private |