eventloop and abstractui debugging, lots more commenting on abstractui/eventloop...
[ardour.git] / libs / midi++2 / midi++ / ipmidi_port.h
index bf949bd60129cf962d9f936fd460221b934e257a..7df964232150c768ef04e50ce41ca629eafdfd7b 100644 (file)
@@ -28,6 +28,8 @@
 #include <net/if.h>
 #endif
 
+#include <glibmm/thread.h>
+
 #include <jack/types.h>
 
 #include "pbd/xml++.h"
@@ -64,7 +66,8 @@ private:
     int sockin;
     int sockout;
     struct sockaddr_in addrout;
-    
+    Glib::Mutex write_lock;    
+
     bool open_sockets (int base_port, const std::string& ifname);
     void close_sockets ();