# | Line 9 | Line 9 | static char SCCSid[] = "$SunId$ SGI"; | |
---|---|---|
9 | */ | |
10 | ||
11 | #include "standard.h" | |
12 | + | #include "random.h" |
13 | ||
14 | #ifdef F_SETLKW | |
15 | #include "paths.h" | |
# | Line 178 | Line 179 | io_process() /* just act as go-between for actual pro | |
179 | if (!n--) | |
180 | error(USER, "unattended persist file?"); | |
181 | pflock(0); | |
182 | < | sleep(15); /* wait until ready */ |
182 | > | sleep(3+(3*getpid()+random())%13); /* wait until ready */ |
183 | pflock(1); | |
184 | } | |
185 | if (nr < 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |