[llvm] [llvm][Support] ListeningSocket::accept returns operation_canceled if FD is set to -1 (PR #89479)

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 13:37:54 PDT 2024


================
@@ -200,35 +200,40 @@ ListeningSocket::accept(std::chrono::milliseconds Timeout) {
   while (PollStatus == -1 && (Timeout.count() == -1 || ElapsedTime < Timeout)) {
     if (Timeout.count() != -1)
       RemainingTime -= ElapsedTime.count();
-
     auto Start = std::chrono::steady_clock::now();
+
----------------
Bigcheese wrote:

Extra whitespace changes.

https://github.com/llvm/llvm-project/pull/89479


More information about the llvm-commits mailing list