make log reopens even more robust in threaded apps
commitca8ed32c8cc990c7e64b6bd7168808a83405a5a5
authorEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 18:52:48 +0000 (28 18:52 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 19:16:50 +0000 (28 19:16 +0000)
treecc243811b1dc68edc2fd555f83e762d37f7ecc60
parent27f4d6ed7c7758620b54deccae319ba7aa9d40eb
make log reopens even more robust in threaded apps

A follow-up to 4b23693b9082a84433a9e6c1f358b58420176b27

If multithreaded programming can be compared to juggling
chainsaws, then multithreaded programming with signal handlers
in play is akin to juggling chainsaws on a tightrope
over shark-infested waters.
(cherry picked from commit feab35fe531843066db3418598874cf9f9419614)
lib/unicorn/util.rb