test_poll: be less dependent on signal handler ordering
commitff940137dc5098c9d8094e041e9be053cb3e139f
authorEric Wong <normalperson@yhbt.net>
Thu, 5 Sep 2013 23:11:59 +0000 (5 23:11 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 5 Sep 2013 23:11:59 +0000 (5 23:11 +0000)
tree2aacef9353fd1bcb9df93ebcaa0696b4535034ea
parent90340eb8f2c5bf820eabd3c25fb39e45285b1c40
test_poll: be less dependent on signal handler ordering

Just spam the thread several times to force the wakeup to happen
and not be as dependent on signal handler execution ordering of
different Ruby VMs.

Tested-by: Hleb Valoshka <375gnu@gmail.com>
test/test_poll.rb