commit | c8201b2c2c62cbd14b811f70b091e828e0818a5e | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Dec 09 10:42:22 2016 +0200 |
committer | Benjamin Walsh <benjamin.walsh@windriver.com> | Mon Dec 12 18:55:40 2016 +0000 |
tree | 8a8a0f6dcb371f7f47788088c0e26a21587e8fd3 | |
parent | f99ad3f0e2eb97e43a7e04611941ae5df98c5a38 [diff] |
kernel: Introduce new k_delayed_work_remaining_get API Applications may want to know how much time is left until a delayed work gets scheduled. To prevent applications from having to track this themselves simply use the information that's already embedded as part of the timer that's part of the delayed work struct. Change-Id: I189df2f3be8b207e68b554a0cbb4f97f1a99de22 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>