|
LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Go to the source code of this file.
Typedefs | |
| typedef struct _oslMutexImpl * | oslMutex |
Functions | |
| SAL_DLLPUBLIC oslMutex | osl_createMutex (void) |
| Create a mutex. More... | |
| SAL_DLLPUBLIC void | osl_destroyMutex (oslMutex Mutex) |
| Release the OS-structures and free mutex data-structure. More... | |
| SAL_DLLPUBLIC sal_Bool | osl_acquireMutex (oslMutex Mutex) |
| Acquire the mutex, block if already acquired by another thread. More... | |
| SAL_DLLPUBLIC sal_Bool | osl_tryToAcquireMutex (oslMutex Mutex) |
| Try to acquire the mutex without blocking. More... | |
| SAL_DLLPUBLIC sal_Bool | osl_releaseMutex (oslMutex Mutex) |
| Release the mutex. More... | |
| SAL_DLLPUBLIC oslMutex * | osl_getGlobalMutex (void) |
| Returns a unique and global mutex. More... | |
| typedef struct _oslMutexImpl* oslMutex |
| SAL_DLLPUBLIC sal_Bool osl_acquireMutex | ( | oslMutex | Mutex | ) |
Acquire the mutex, block if already acquired by another thread.
| Mutex | handle to a created mutex. |
| False | if system-call fails. |
| SAL_DLLPUBLIC oslMutex osl_createMutex | ( | void | ) |
Create a mutex.
| SAL_DLLPUBLIC void osl_destroyMutex | ( | oslMutex | Mutex | ) |
Release the OS-structures and free mutex data-structure.
| Mutex | the mutex-handle |
| SAL_DLLPUBLIC oslMutex* osl_getGlobalMutex | ( | void | ) |
Returns a unique and global mutex.
| SAL_DLLPUBLIC sal_Bool osl_releaseMutex | ( | oslMutex | Mutex | ) |
Release the mutex.
| Mutex | handle to a created mutex. |
| False | if system-call fails. |
| SAL_DLLPUBLIC sal_Bool osl_tryToAcquireMutex | ( | oslMutex | Mutex | ) |
Try to acquire the mutex without blocking.
| Mutex | handle to a created mutex. |
| False | if it could not be acquired. |
1.8.14