[Issue 20257] New: Implement waitTimeout() in std.process

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 2 01:27:59 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20257

          Issue ID: 20257
           Summary: Implement waitTimeout() in std.process
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

Currently wait() is blocking, while tryWait() would have to be used in a loop
in order to simulate waiting until a timeout is reached. It would be great if
waitTimeout(Pid, Duration) was provided as an API.

--


More information about the Digitalmars-d-bugs mailing list