diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-02-18 09:37:09 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-02-18 09:42:03 -0500 |
| commit | 96fe578a643bf78866d34281d4baf59ac9dd840a (patch) | |
| tree | 50d438a44ae7f9fe2bedd0062971aa16ab4bcc13 /lib/northbound_cli.c | |
| parent | 4322dea7e07b74768cf23eda2c082a59bc36af86 (diff) | |
lib: don't awaken from poll for every timer
Only ask the event-loop poll() to awaken if a newly-added timer
actually might have changed the required timeout. Also compute
timer deadline outside of mutex locks.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
