diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-11-17 15:47:24 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-11-17 15:47:24 +0000 |
commit | a553ae64e27b71eaa9dc6edabe3181613bc49cfc (patch) | |
tree | 4fea8684f3a3727897ee1f50e91e8058038afa95 /poll | |
parent | 0d304005ff367efc2417b9d008c5964df9607054 (diff) | |
download | apr-a553ae64e27b71eaa9dc6edabe3181613bc49cfc.tar.gz |
Follow up to r1895106: now we want blocking reads on unix too so revert r1894914.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/wakeup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/poll/unix/wakeup.c b/poll/unix/wakeup.c index ccc67d133..118272368 100644 --- a/poll/unix/wakeup.c +++ b/poll/unix/wakeup.c @@ -81,10 +81,8 @@ apr_status_t apr_poll_create_wakeup_pipe(apr_pool_t *pool, apr_pollfd_t *pfd, { apr_status_t rv; - /* Read end of the pipe is non-blocking */ - if ((rv = apr_file_pipe_create_ex(&wakeup_pipe[0], &wakeup_pipe[1], - APR_WRITE_BLOCK, - pool)) != APR_SUCCESS) + if ((rv = apr_file_pipe_create(&wakeup_pipe[0], &wakeup_pipe[1], + pool)) != APR_SUCCESS) return rv; pfd->p = pool; |