]> granicus.if.org Git - php/commitdiff
Correct comment in plain_wrapper.c (refers to microseconds, not milliseconds)
authorAlex Dowad <alexinbeijing@gmail.com>
Fri, 24 Apr 2020 20:37:17 +0000 (22:37 +0200)
committerAlex Dowad <alexinbeijing@gmail.com>
Wed, 24 Jun 2020 20:26:00 +0000 (22:26 +0200)
main/streams/plain_wrapper.c

index b855fe9db9a03ec3ec8206ec6ad48b7454895043..34d0590f44a827eb00c389793291d9e638447d7c 100644 (file)
@@ -392,7 +392,7 @@ static ssize_t php_stdiop_read(php_stream *stream, char *buf, size_t count)
                                if (!PeekNamedPipe(ph, NULL, 0, NULL, &avail_read, NULL)) {
                                        break;
                                }
-                               /* If there's nothing to read, wait in 10ms periods. */
+                               /* If there's nothing to read, wait in 10us periods. */
                                if (0 == avail_read) {
                                        usleep(10);
                                }