]> granicus.if.org Git - php/commit
Fix nowait.phpt to no longer depend on sleeping
authorMitch Hagstrand <mhagstrand@gmail.com>
Mon, 2 Jan 2017 05:19:14 +0000 (21:19 -0800)
committerJoe Watkins <krakjoe@php.net>
Mon, 2 Jan 2017 09:40:46 +0000 (09:40 +0000)
commitb4459af0256d991d21aef8ed167be47512d20e5d
tree4230c3820d269a0f13d77306aed60e8d02a3776f
parent876b7b177f5622d5065185a2c3277fa1576e6d79
Fix nowait.phpt to no longer depend on sleeping

In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.
ext/sysvsem/tests/nowait.phpt