[Live-devel] Signals

ECU Laboratories eculabs at gmx.net
Wed May 3 03:45:04 PDT 2006


Hi Ross,

in my server application that is based on the testOnDemandRTSPServer
server, I am trying to use signals (my server is running on GNU/Linux - 
RedHat 9)
to make the server increase log verbosity levels while it is running.
For this i simply register a signal handler for SIGUSR1 and then increase
in that signal handler a global variable representing the loglevel.
I start the server, then I start a client and have it play back a movie. 
After some
time i send the server the SIGUSR1 signal (kill -SIGUSR1 <Server PID>).
Now what happens is this:  The signal handler is invoked and does what
it has to do, but the server immediately stops sending data to the 
client then
the client (It's an Amino 110H), after receiving no data for some time,
tears down the session...
Do you happen to know where this effect comes from? Does that signal
maybe interfere with the event loop used by the live555 lib?

Thanks & kind Regards,
Helmut




More information about the live-devel mailing list