]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
signals unit test: fix
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 22 Jun 2011 11:17:49 +0000 (04:17 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 22 Jun 2011 11:20:15 +0000 (04:20 -0700)
commitd42da230fec8f4d40d610fdae2be859d3cf2be47
tree6b217d840ba78ae2059b71179b9810ec799ae309
parentcabec5cb03a1e639c99f5e75698c7731cfdc50a9
signals unit test: fix

Ensure that the signal waits for us to call sigsuspend, rather than
getting delievered to another thread. We do this by using SIGPIPE as our
signal of choice. SIGPIPE is blocked in all Ceph threads by default.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/test/signals.cc