projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove inclusion of ardour_ui.h from ui_config.cc
[ardour.git]
/
libs
/
pbd
/
transmitter.cc
diff --git
a/libs/pbd/transmitter.cc
b/libs/pbd/transmitter.cc
index 876a9d86e5353cb70e7abcc0f40dc09f36ed31d3..e4266d34d7d6787d8afa37c177ed94662bdfca9c 100644
(file)
--- a/
libs/pbd/transmitter.cc
+++ b/
libs/pbd/transmitter.cc
@@
-20,11
+20,10
@@
#include <cstdlib>
#include <signal.h>
#include <cstdlib>
#include <signal.h>
-#include <iostream>
#include <string>
#include <string>
-#include
<pbd/transmitter.h>
-#include
<pbd/error.h>
+#include
"pbd/transmitter.h"
+#include
"pbd/error.h"
using std::string;
using std::ios;
using std::string;
using std::ios;
@@
-85,12
+84,20
@@
Transmitter::deliver ()
/* do the right thing if this should not return */
if (does_not_return()) {
/* do the right thing if this should not return */
if (does_not_return()) {
+#ifndef PLATFORM_WINDOWS
+// TODO !!!! Commented out temporarily (for Windows)
sigset_t mask;
sigemptyset (&mask);
sigsuspend (&mask);
/*NOTREACHED*/
exit (1);
sigset_t mask;
sigemptyset (&mask);
sigsuspend (&mask);
/*NOTREACHED*/
exit (1);
+/* JE - From what I can tell, the above code suspends
+ * program execution until (any) signal occurs. Not
+ * sure at the moment what this achieves, unless it
+ * provides some time for the user to see the message.
+ */
+#endif
}
}
}
}