Go to the source code of this file.
◆ oslMutex
◆ osl_acquireMutex()
Acquire the mutex, block if already acquired by another thread.
- Parameters
-
Mutex | handle to a created mutex. |
- Return values
-
False | if system-call fails. |
◆ osl_createMutex()
Create a mutex.
- Returns
- 0 if the mutex could not be created, otherwise a handle to the mutex.
◆ osl_destroyMutex()
Release the OS-structures and free mutex data-structure.
- Parameters
-
◆ osl_getGlobalMutex()
Returns a unique and global mutex.
- Returns
- the global mutex.
◆ osl_releaseMutex()
Release the mutex.
- Parameters
-
Mutex | handle to a created mutex. |
- Return values
-
False | if system-call fails. |
◆ osl_tryToAcquireMutex()
Try to acquire the mutex without blocking.
- Parameters
-
Mutex | handle to a created mutex. |
- Return values
-
False | if it could not be acquired. |