close race if an exit signal hits the worker before trap
commit8de6ab371c1623669b86a5dfa8703c8fd539011f
authorEric Wong <normalperson@yhbt.net>
Fri, 19 Aug 2011 22:13:04 +0000 (19 22:13 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 19 Aug 2011 22:13:04 +0000 (19 22:13 +0000)
treed269b8c3032098db82e66dae5316e6f510bfb3f1
parentf8b22397ca395a9173d391e8699d539503707792
close race if an exit signal hits the worker before trap

The signal handler from the master is still active and will
push the pending signal to SIG_QUEUE if a worker receives
a signal immediately after forking.
lib/unicorn/http_server.rb