commit | 4c7b77a716f48a2fc5686cf123a1e5683ad627d2 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Mon Mar 09 09:35:35 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Mar 31 19:40:47 2020 -0400 |
tree | 5aefe1a07e584a75f8b77ca0b060ca342d990cee | |
parent | cfeb07ededa388a6958d39f079247262ab5f8008 [diff] |
kernel/timeout: Add absolute timeout APIs Add support for "absolute" timeouts, which are expressed relative to system uptime instead of deltas from current time. These allow for more race-resistant code to be written by allowing application code to do a single timeout computation, once, and then reuse the timeout value even if the thread wakes up and needs to suspend again later. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>