Merged revisions 52904 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 30 Jan 2007 17:23:56 +0000 (17:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 30 Jan 2007 17:23:56 +0000 (17:23 +0000)
commit83e2ed50e6f0ddc1a8204870df2578c5d8c5fe3f
tree23919f48d0f4c31393844a9f1da3031c445e022a
parent1fc144435d425c667c5efbc68d9897d47fba1766
Merged revisions 52904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52904 | russell | 2007-01-30 11:19:39 -0600 (Tue, 30 Jan 2007) | 17 lines

Merged revisions 52903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines

The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/asterisk.c