#include <threads.h>
Public Member Functions | |
| template<typename F> | |
| thread (const F &thunk, const attr &a=attr()) | |
| Create a new thread. | |
| void | join () |
| Wait for this thread to finish. | |
| void | cancel () |
| Cancel this thread. | |
Classes | |
| class | attr |
| Stores the attributes with which a thread is to be created. More... | |
This class represents a single thread of control. It is conceptually based on the Boost thread class; like the Boost thread class, it is non-copyable.
| void cwidget::threads::thread::join | ( | ) | [inline] |
Wait for this thread to finish.
| void cwidget::threads::thread::cancel | ( | ) | [inline] |
Cancel this thread.
1.5.6