summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-12 14:49:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-11-13 08:53:35 +0000
commite4b993e95dd6a3c5ef174ab72fd11d33585ddf9a (patch)
treed4911102fdd1330a8023c4c0d9a0591e17dbad0c
parentf4bda9b6ab58e9d97665ef02d5ffd896a88dca3a (diff)
What is a "thread-local" mutex?
Change-Id: Idb0ca4bcefea4c1927e8238d3371c9044103239f Reviewed-on: https://gerrit.libreoffice.org/6651 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--include/osl/mutex.h2
-rw-r--r--include/osl/mutex.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/mutex.h b/include/osl/mutex.h
index e500ec380990..03c78b117f53 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 55eb7414b038..2aff64b8797d 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()
*/