aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-23 23:20:55 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-23 23:20:55 +0000
commit8ff7033a0cafd85a44780c77fb3a85986bdb7176 (patch)
treef74ac36169b0f856e952afe9d14e988f48e837f5 /channel.c
parent196f6df7a4618323a26b2a228fc1be34b7379205 (diff)
Fix up a couple more signal handlers to not do bad things that could cause
various undesirable results. The other day, I made Asterisk deadlock by hitting Control-C because of a bad signal handler. Now, signal handlers just set a flag and write to an alert pipe for the flag to be handled. Then, there is another thread that is monitoring for these flags. If being run in console mode, it is just the main thread. If Asterisk is in the background, a thread is created to do it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@56504 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
0 files changed, 0 insertions, 0 deletions