I found the interaction between SecondsToWait and
WaitUntilChildTerminates confusing. Rather than have a boolean to
ignore the value of SecondsToWait, combine these into one Optional
parameter
No idea if the Windows part builds
Paths
| Differential D138942
Support: Make Wait's SecondsToWait be Optional [NFC] ClosedPublic Authored by arsenm on Nov 29 2022, 12:38 PM.
Details Summary I found the interaction between SecondsToWait and No idea if the Windows part builds
Diff Detail Event Timelinearsenm added a child revision: D138952: Support: Add polling option to sys::Wait.Nov 29 2022, 2:30 PM arsenm added a child revision: D138953: llvm-reduce: Try to kill parallel workitems once we have a result..
arsenm marked 4 inline comments as done. Comment ActionsRebase on move to std::optional, address comments
arsenm marked 2 inline comments as done. Comment ActionsRename test and address comments
Comment Actions LGTM.
This revision is now accepted and ready to land.Dec 2 2022, 1:32 PM Comment Actions LGTM modulo open comments.
arsenm marked an inline comment as done. Comment Actions
Revision Contents
Diff 479653 llvm/include/llvm/Support/Program.h
llvm/lib/Support/Program.cpp
llvm/lib/Support/Unix/Program.inc
llvm/lib/Support/Windows/Program.inc
llvm/unittests/Support/ProgramTest.cpp
|
I think the idea is to switch to using std::optional. You can do it now, or someone will do it later.