diff options
| author | 2021-05-17 15:18:14 -0700 | |
|---|---|---|
| committer | 2021-05-18 15:47:31 +0000 | |
| commit | c3632b1aab9fa47a0193b200b61bbc9ff1374fb6 (patch) | |
| tree | de8984b47580239c095a8104a1791a0345d935b4 /compiler/optimizing/graph_visualizer.h | |
| parent | 7414ec29f15bf9c5c8ad5af5ce45b3f5fc41ce80 (diff) | |
Avoid timeout with >= 1 billion nsecs
Registering a timeout of >= 1000 msecs produced an error message,
but still resulted in a system call with timeout nsecs >= 1 billion,
which would cause an error return from the system call and a crash.
Avoid this by restricting timeouts to the maximum. Also enforce
minimum for symmetry.
Bug: 140968481
Test: TreeHugger
Change-Id: I191fb88a03bf09d2c5a93864bb26624c10b6e52d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions