Classes | |
class | ScopedLock |
Public Member Functions | |
void | acquire () const |
void | release () const |
spawn
functions only call the function but wait for it to return instead of running in on another thread, and the mutices do nothing really. The only reason to provide such a function is that the program can be compiled both in MT and non-MT mode without difference.
void Threads::DummyThreadMutex::acquire | ( | ) | const [inline] |
Simulate acquisition of the mutex. As this class does nothing really, this function does nothing as well.
void Threads::DummyThreadMutex::release | ( | ) | const [inline] |
Simulate release of the mutex. As this class does nothing really, this function does nothing as well.