www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20257] New: Implement waitTimeout() in std.process


          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 puremagic.com
          Reporter: andrej.mitrovich 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.

Oct 01 2019