[Live-devel] Signals
ECU Laboratories
eculabs at gmx.net
Thu May 4 01:54:54 PDT 2006
The problem also reproduces with the original testOnDemandRTSPServer.
(Taken from the latest release 2006.03.17)
I merely introduced a signal handler into it -> find the source attached.
Again, I'm on Linux ( RedHad 9).
I play back the TS (irobot.ts) and then send the server an SIGUSR1 using
kill -SIGUSR1 <testOnDemandRTSPServer PID>
The movie freezes.
I wonder why nobody else came acros this problem, as it is common to
use signals in servers to control whatever aspects from outside (for examp.
have the server reread its config) without having to stop / restart.
Yes, im aware i have the sources but i find it more efficient to first ask
someone who might know before start digging around in the code.
Regards,
Helmut
Ross Finlayson wrote:
>> Do you happen to know where this effect comes from? Does that signal
>> maybe interfere with the event loop used by the live555 lib?
>>
>
> Possibly, depending perhaps on your OS (run "man signal" for
> guidance). (Most of the time - especially for a server - the signal
> will happen while the application is sitting in a call to "select()",
> in the event loop.) But - because you've modified the original code
> - you're going to have to figure this out for yourself. Remember,
> You Have Complete Source Code.
>
>
> Ross Finlayson
> Live Networks, Inc. (LIVE555.COM)
> <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testOnDemandRTSPServer.cpp
Type: text/x-c++src
Size: 9311 bytes
Desc: not available
Url : http://lists.live555.com/pipermail/live-devel/attachments/20060504/849ce021/attachment.bin
More information about the live-devel
mailing list