commit | f99ad3f0e2eb97e43a7e04611941ae5df98c5a38 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Dec 09 10:39:49 2016 +0200 |
committer | Benjamin Walsh <benjamin.walsh@windriver.com> | Mon Dec 12 18:55:40 2016 +0000 |
tree | 52e7cb5cc18f08cf7348685cfc3c847e251c0692 | |
parent | 142c0024de21f0e7649c9079022c58d80d583f01 [diff] |
kernel: Refactor remaining time evaluation for timeouts Factor out the code for evaluating the remaining time for _timeout structs so that it can also be used for other objects besides k_timer structs (like k_delayed_work, coming in a subsequent patch). Change-Id: I243a7b29fb2831f06e95086a31f0d3a6c37dad67 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>