Skip to content

Commit 8c60e26

Browse files
committed
race condition
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1778149 13f79535-47bb-0310-9956-ffa450edef68
1 parent afe3d34 commit 8c60e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testpoll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ static void pollset_wakeup(abts_case *tc, void *data)
807807
rv = apr_pollset_add(pollset, &socket_pollfd);
808808
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
809809

810-
send_msg(s, sa, 0, tc);
810+
send_msg(s, sa, 0, tc); apr_sleep(1000);
811811

812812
rv = apr_pollset_wakeup(pollset);
813813
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);

0 commit comments

Comments
 (0)