[Libreoffice-commits] core.git: include/osl
Tor Lillqvist
tml at collabora.com
Wed Nov 13 00:53:58 PST 2013
include/osl/mutex.h | 2 +-
include/osl/mutex.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e4b993e95dd6a3c5ef174ab72fd11d33585ddf9a
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Nov 12 14:49:45 2013 +0200
What is a "thread-local" mutex?
Change-Id: Idb0ca4bcefea4c1927e8238d3371c9044103239f
Reviewed-on: https://gerrit.libreoffice.org/6651
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/include/osl/mutex.h b/include/osl/mutex.h
index e500ec3..03c78b1 100644
--- a/include/osl/mutex.h
+++ b/include/osl/mutex.h
@@ -32,7 +32,7 @@ extern "C" {
struct _oslMutexImpl;
typedef struct _oslMutexImpl * oslMutex;
-/** Create a thread-local mutex.
+/** Create a mutex.
@return 0 if the mutex could not be created, otherwise a handle to the mutex.
*/
SAL_DLLPUBLIC oslMutex SAL_CALL osl_createMutex(void);
diff --git a/include/osl/mutex.hxx b/include/osl/mutex.hxx
index 55eb741..2aff64b 100644
--- a/include/osl/mutex.hxx
+++ b/include/osl/mutex.hxx
@@ -32,7 +32,7 @@ namespace osl
class SAL_WARN_UNUSED Mutex {
public:
- /** Create a thread-local mutex.
+ /** Create a mutex.
@return 0 if the mutex could not be created, otherwise a handle to the mutex.
@see ::osl_createMutex()
*/
More information about the Libreoffice-commits
mailing list