make log reopens even more robust in threaded apps
commitfeab35fe531843066db3418598874cf9f9419614
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 18:58:04 +0000 (28 18:58 +0000)
tree776845cb687e969cd4f9ccf91445994c92d075af
parent18968f6aff2fa5ba5a7e3e3d47c9cc05cd6c260d
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.
lib/unicorn/util.rb