timeval: Fix occasional backtrace() related deadlock.
authorEthan Jackson <ethan@nicira.com>
Fri, 26 Oct 2012 19:33:01 +0000 (12:33 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 26 Oct 2012 21:44:33 +0000 (14:44 -0700)
commit543a550837f40e39c9f6f110e927b4c230c2d77c
treecb48ee61980ebf52a73f3c047452e85a98bb200c
parent49770faf0d497e2a0b07f43163728c17b3e7363b
timeval: Fix occasional backtrace() related deadlock.

Occasionally, backtrace() will deadlock in the signal handler
because it does some non signal safe initialization.  Specifically,
it opens a shared object.  As a work around, this patch forces
backtrace() to run outside of a signal handler, so that future
calls will perform as expected.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/timeval.c