#include <glibmm/threads.h>
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
#include "pbd/glib_semaphore.h"
#endif
#include "pbd/ringbuffer.h"
#include "pbd/pool.h"
+#include "ardour/libardour_visibility.h"
#include "ardour/types.h"
#include "ardour/session_handle.h"
* are empty they are deleted.
*/
-class Butler : public SessionHandleRef
+class LIBARDOUR_API Butler : public SessionHandleRef
{
public:
Butler (Session& session);
};
pthread_t thread;
+ bool have_thread;
Glib::Threads::Mutex request_lock;
Glib::Threads::Cond paused;
bool should_run;
uint32_t midi_dstream_buffer_size;
RingBuffer<CrossThreadPool*> pool_trash;
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
PBD::atomic_counter m_request_state;
PBD::GlibSemaphore m_request_sem;
#else
void empty_pool_trash ();
void config_changed (std::string);
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
int setup_request_pipe ();
#endif