![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Crossplatform threading support. More...
Classes | |
class | Thread |
The Thread class itself. More... | |
Static Public Member Functions | |
static ResultCode | sleep (const double seconds) throw () |
Sleeps the current thread. | |
static ResultCode | yield () throw () |
Yield the current thread. | |
static Threading::ID | getCurrentThreadID () throw () |
Get the calling thread ID. |
Crossplatform threading support.
Threading::ID Threading::getCurrentThreadID | ( | ) | throw () [static] |
Get the calling thread ID.
ResultCode Threading::sleep | ( | const double | seconds | ) | throw () [static] |
Sleeps the current thread.
This is specified in seconds.
ResultCode Threading::yield | ( | ) | throw () [static] |
Yield the current thread.
This signals that other threads can use the processing time.