diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-16 23:30:28 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-16 23:30:28 -0400 |
commit | c5115c9a3c8ce6639f37e0b429e0498bb522d913 (patch) | |
tree | 667e48ff6ec80f274c7eafda4e44dceaaaeb342b /libs/pbd/pbd/rcu.h | |
parent | cb3abec9665b7a69702294e5a6ffdd26f54885c3 (diff) |
add export visibility control to libpbd (works thus far on linux/gcc)
Diffstat (limited to 'libs/pbd/pbd/rcu.h')
-rw-r--r-- | libs/pbd/pbd/rcu.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/pbd/pbd/rcu.h b/libs/pbd/pbd/rcu.h index 909954fc0e..6ee68afabf 100644 --- a/libs/pbd/pbd/rcu.h +++ b/libs/pbd/pbd/rcu.h @@ -25,6 +25,8 @@ #include <list> +#include "pbd/libpbd_visibility.h" + /** @file Defines a set of classes to implement Read-Copy-Update. We do not attempt to define RCU here - use google. The design consists of two parts: an RCUManager and an RCUWriter. @@ -43,7 +45,7 @@ and managed object. */ template<class T> -class RCUManager +class LIBPBD_API RCUManager { public: @@ -109,7 +111,7 @@ class RCUManager means that no actual objects will be deleted incorrectly if this is misused. */ template<class T> -class SerializedRCUManager : public RCUManager<T> +class LIBPBD_API SerializedRCUManager : public RCUManager<T> { public: @@ -212,7 +214,7 @@ private: */ template<class T> -class RCUWriter +class LIBPBD_API RCUWriter { public: |