diff options
Diffstat (limited to 'libs/pbd/transmitter.cc')
-rw-r--r-- | libs/pbd/transmitter.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/pbd/transmitter.cc b/libs/pbd/transmitter.cc index a172ac457d..e4266d34d7 100644 --- a/libs/pbd/transmitter.cc +++ b/libs/pbd/transmitter.cc @@ -84,14 +84,20 @@ Transmitter::deliver () /* do the right thing if this should not return */ if (does_not_return()) { -#ifndef WIN32 +#ifndef PLATFORM_WINDOWS +// TODO !!!! Commented out temporarily (for Windows) sigset_t mask; sigemptyset (&mask); sigsuspend (&mask); -#endif /*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 } } |