You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2021/11/16 10:56:34 UTC

svn commit: r1895085 - in /apr/apr/branches/1.7.x: ./ poll/unix/wakeup.c

Author: ylavic
Date: Tue Nov 16 10:56:33 2021
New Revision: 1895085

URL: http://svn.apache.org/viewvc?rev=1895085&view=rev
Log:
Revert r1894918 (untested).

See https://lists.apache.org/thread/dmlm6z38fpd9l7xccqkw9pzchv4rzvxv


Modified:
    apr/apr/branches/1.7.x/   (props changed)
    apr/apr/branches/1.7.x/poll/unix/wakeup.c

Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
  Reverse-merged /apr/apr/trunk:r1894917

Modified: apr/apr/branches/1.7.x/poll/unix/wakeup.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/poll/unix/wakeup.c?rev=1895085&r1=1895084&r2=1895085&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/poll/unix/wakeup.c (original)
+++ apr/apr/branches/1.7.x/poll/unix/wakeup.c Tue Nov 16 10:56:33 2021
@@ -36,9 +36,6 @@ apr_status_t apr_poll_create_wakeup_pipe
                                       pool)) != APR_SUCCESS)
         return rv;
 
-    /* Read end of the pipe is non-blocking */
-    apr_file_pipe_timeout_set(wakeup_pipe[0], 0);
-
     pfd->reqevents = APR_POLLIN;
     pfd->desc_type = APR_POLL_FILE;
     pfd->desc.f = wakeup_pipe[0];
@@ -83,7 +80,6 @@ apr_status_t apr_poll_create_wakeup_pipe
 {
     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)