summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/rcu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/rcu.h')
-rw-r--r--libs/pbd/pbd/rcu.h8
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: