Yeah, the man page warns you that it's not foolproof. Seems relatively well used outside Android.
Maybe that's why our desktop machines have such a large pid_max these days? 😀 On Thu, Jul 25, 2019, 19:37 Rob Landley <[email protected]> wrote: > On 7/25/19 5:31 PM, enh via Toybox wrote: > > This isn't currently used in AOSP, but it is used in some of the other > > codebases I can easily search, and it's a better fix for test flakiness > > than inserting a sleep. > > If PIDs wrap and create new processes... but probably not a real concern? > > Rob >
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
