From ce9abbe52b4e71e4ed28c50cdd051086de035ec6 Mon Sep 17 00:00:00 2001 From: thgs Date: Mon, 1 Jan 2024 19:14:50 +0000 Subject: [PATCH] Correct filename in comments of examples --- examples/context.php | 4 ++-- examples/process.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/context.php b/examples/context.php index a7e7a58..cfc21dc 100755 --- a/examples/context.php +++ b/examples/context.php @@ -20,9 +20,9 @@ print "Waiting 2 seconds to send start data...\n"; delay(2); - $context->send("Start data"); // Data sent to child process, received on line 9 of blocking-process.php + $context->send("Start data"); // Data sent to child process, received on line 9 of contexts/blocking.php - printf("Received the following from child: %s\n", $context->receive()); // Sent on line 14 of blocking-process.php + printf("Received the following from child: %s\n", $context->receive()); // Sent on line 14 of blocking.php printf("Process ended with value %d!\n", $context->join()); } finally { EventLoop::cancel($timer); diff --git a/examples/process.php b/examples/process.php index e93f504..bef5f70 100755 --- a/examples/process.php +++ b/examples/process.php @@ -28,9 +28,9 @@ print "Waiting 2 seconds to send start data...\n"; delay(2); - $context->send("Start data"); // Data sent to child process, received on line 9 of blocking-process.php + $context->send("Start data"); // Data sent to child process, received on line 9 of contexts/blocking.php - printf("Received the following from child: %s\n", $context->receive()); // Sent on line 14 of blocking-process.php + printf("Received the following from child: %s\n", $context->receive()); // Sent on line 14 of contexts/blocking.php printf("Process ended with value %d!\n", $context->join()); } finally { EventLoop::cancel($timer);