October 02, 2019 [Issue 20257] New: Implement waitTimeout() in std.process | ||||
---|---|---|---|---|
| ||||
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@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. -- |
Copyright © 1999-2021 by the D Language Foundation