Search code examples
windowssignalsrtsp-client

How to terminate openRTSP on Windows cleanly and/or send a signal in windows


According to the openRTSP page you must "terminate it cleanly, by signalling it with SIGHUP or SIGUSR1". Those don't exist in Windows so is there a method already coded openRTSP for windows I can instigate, or is there a way to signal in windows?


Solution

  • The answers I have found are:

    • No, you cannot signal in Windows.
    • No, there is no alternative way coded in openRTSP. The windows build simply #ifdefs out the signalling code.

    A named Mutex is probably the easiest way of coding up the same feature.