commit | 8c5a2298627c6cbe37782f3b33e8d6c43ed9c4d8 | [log] [tgz] |
---|---|---|
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Tue May 30 15:34:23 2017 +0530 |
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Fri Jun 02 16:37:51 2017 +0530 |
tree | 784fc6e0fa0a9c79ac4d14d43a2c71b5d1ad9ebc | |
parent | d7a3f13ef17e34a39bae3ff482c15181e40cc0d7 [diff] |
Invoke optional callback function on timer expiration When the timer expires, it calls into it's own timeout handler which matches with sd_event callback handler. However, it is beneficial if the users of timer register their own callback routine so that they can execute some operations on timeout. Change-Id: Ia88cb4e3c17f6dd8d4528fa193ec7927f083a92b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>