commit | 0b45cbb7283b1230bdf9895b7fb5718fbb4859be | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@chromium.org> | Thu Apr 16 23:39:14 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 23 22:07:43 2020 |
tree | 9698b8aa90bace9bf04f3d343b3d7bc41b3792b8 | |
parent | 5ce271fc340996324be396ec87c1eecd3215593f [diff] |
Use a constant for unset timeouts or deadlines Previously there were some inconsistencies over whether to use -1 or 0 for `stime_t` values representing "unset" or "none". This change makes all those cases use -1, and adds a constant to represent that. BUG=none TEST=unit tests and touch tests Change-Id: If2d392da4da9c58bf4e6969c1f37ab4b746f4483 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/2152859 Tested-by: Harry Cutts <hcutts@chromium.org> Reviewed-by: Sean O'Brien <seobrien@chromium.org> Commit-Queue: Harry Cutts <hcutts@chromium.org>