← Back to team overview

mysql-proxy-discuss team mailing list archive

signal handling

 

Hi,

I think the event threads in the 0.8 branch have broken signal
handling. It seems (and this is purely a guess) that if the 'main'
thread (the one with signal handler attached to it's event_base) is
not running when a signal is raised then it gets
masked/lost/forgotten. In my branch i have pushed a change to just
attach signal handlers the 'normal' way, so now i can reliably
start/stop the daemon.

Does anyone else observe this behavior when using event threads? Ill
log a bug if you do.

Cheers

-- 
Nick Loeve



Follow ups