]> git.ipfire.org Git - thirdparty/chrony.git/commit
sched: allow file handler with multiple events to remove itself
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 31 Jul 2018 14:44:43 +0000 (16:44 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 3 Aug 2018 15:21:02 +0000 (17:21 +0200)
commita8167b7959187889dc3e0c7aa8c68a9431ad636a
treec00b1e7cb65abcb3d6b16c853dc46f93d287f847
parentb33b68235630d0de3b2d7f95b7554b5b90250a7f
sched: allow file handler with multiple events to remove itself

Before dispatching a handler, check if it is still valid. This allows a
handler to remove itself when a descriptor has two different events at
the same time.
sched.c