![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/Thread.h>
Public Member Functions | |
| virtual | ~Mutex (void) |
| virtual void | lock (void)=0 |
| virtual void | unlock (void)=0 |
| virtual bool | tryLock (void)=0 |
Static Public Member Functions | |
| static Mutex * | make (void) |
System-independent implementation of a mutex.
Acquire the mutex. If mutex is not available, block until it becomes available.
| SystemException | No more place in waiting queue. |
Release a mutex acquired by the current thread.
| SystemException | Mutex not owned by the current thread. |