1) add sigaction_handler instead of sig_handler 2) add separate shutdown thread 3) add shutdown handler 4) replace exceptions with error messages in shutdown path
1) Add sigaction handlers for SIGTERM/SIGINT/SIGHUP 2) Add log messages to show stop progress per store
Fix comments
Change signal number with predefined signal typedefs
Merge pull request #15 from InMobi/signalHandling

Signal handling in scribe