summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/sys/posix/Mutex.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-07-28 18:28:56 +0000
committerAlan Conway <aconway@apache.org>2011-07-28 18:28:56 +0000
commit95ad2adfc443b227eba224279188c36906c1db66 (patch)
tree14c91400e2284b2c4f782d203a60d44dbee31f9e /qpid/cpp/include/qpid/sys/posix/Mutex.h
parent8db25489a2971803b21d73814521b40731111bd5 (diff)
downloadqpid-python-qpid-3163.tar.gz
Merge branch 'visibility-hidden' into qpid-3163qpid-3163
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3163@1151956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include/qpid/sys/posix/Mutex.h')
-rw-r--r--qpid/cpp/include/qpid/sys/posix/Mutex.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/qpid/cpp/include/qpid/sys/posix/Mutex.h b/qpid/cpp/include/qpid/sys/posix/Mutex.h
index e2b21b5a56..bef35cc19f 100644
--- a/qpid/cpp/include/qpid/sys/posix/Mutex.h
+++ b/qpid/cpp/include/qpid/sys/posix/Mutex.h
@@ -20,6 +20,7 @@
*/
#include "qpid/sys/posix/check.h"
+#include "qpid/CommonImportExport.h"
#include <pthread.h>
#include <boost/noncopyable.hpp>
@@ -32,9 +33,9 @@ class Condition;
/**
* Mutex lock.
*/
-class Mutex : private boost::noncopyable {
+class QPID_COMMON_CLASS_EXTERN Mutex : private boost::noncopyable {
friend class Condition;
- static const pthread_mutexattr_t* getAttribute();
+ QPID_COMMON_EXTERN static const pthread_mutexattr_t* getAttribute();
public:
typedef ::qpid::sys::ScopedLock<Mutex> ScopedLock;
@@ -54,7 +55,7 @@ protected:
/**
* RW lock.
*/
-class RWlock : private boost::noncopyable {
+class QPID_COMMON_CLASS_EXTERN RWlock : private boost::noncopyable {
friend class Condition;
public:
@@ -78,7 +79,7 @@ protected:
* PODMutex is a POD, can be static-initialized with
* PODMutex m = QPID_PODMUTEX_INITIALIZER
*/
-struct PODMutex
+struct QPID_COMMON_CLASS_EXTERN PODMutex
{
typedef ::qpid::sys::ScopedLock<PODMutex> ScopedLock;