Global Functions in Global Namespace C++
in Sourcefile mutex.h
- osl_acquireMutex
- extern "C"
sal_Bool osl_acquireMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Acquire the mutex, block if already acquired by another thread.
- Parameters
Mutex |
handle to a created mutex.
|
- Return
- False if system-call fails.
- osl_createMutex
- extern "C"
oslMutex osl_createMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Create a thread-local mutex.
- Return
- 0 if the mutex could not be created, otherwise a handle to the mutex.
- osl_destroyMutex
- extern "C"
void osl_destroyMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Release the OS-structures and free mutex data-structure.
- Parameters
-
- osl_getGlobalMutex
- extern "C"
oslMutex * osl_getGlobalMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Returns a unique and global mutex.
- Return
- the global mutex.
- osl_releaseMutex
- extern "C"
sal_Bool osl_releaseMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Release the mutex.
- Parameters
Mutex |
handle to a created mutex.
|
- Return
- False if system-call fails.
- osl_tryToAcquireMutex
- extern "C"
sal_Bool osl_tryToAcquireMutex(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Try to acquire the mutex without blocking.
- Parameters
Mutex |
handle to a created mutex.
|
- Return
- False if it could not be acquired.
Top of Page
Copyright © 2000, 2018 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.