diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-01 00:20:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-01 22:18:15 +0100 |
commit | 393003e1debf7c7f75beaacbd532b92c3e3dc729 (patch) | |
tree | 7202950939e4249129a2446695257f2e9b81eda0 /src/ac-power | |
parent | 1bce0ffa66f329bd50d8bfaa943a755caa65b269 (diff) |
sd-event: permit a USEC_INFINITY timeout as an alternative to a disabling an event source
This should simplify handling of time events in clients and is in-line with the USEC_INFINITY macro we already have.
This way setting a timeout to 0 indicates "elapse immediately", and a timeout of USEC_INFINITY "elapse never".
Diffstat (limited to 'src/ac-power')
0 files changed, 0 insertions, 0 deletions