]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: udev: Convert udevEventHandleThread to an actual thread routine
authorErik Skultety <eskultet@redhat.com>
Wed, 28 Jun 2017 12:34:41 +0000 (14:34 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 19 Oct 2017 06:54:53 +0000 (08:54 +0200)
commitcdbe13329a76ef0a2def601546f6baa6462de632
tree5e149d69e09ea75bc4d28a83343753cd8018f7c5
parent5a47baaf4458c1024ee9fed3655bf90cac38fed2
nodedev: udev: Convert udevEventHandleThread to an actual thread routine

Adjust udevEventHandleThread to be a proper thread routine running in an
infinite loop handling devices. The handler thread pulls all available
data from the udev monitor and only then waits until a wakeup signal for
new incoming data has been emitted by udevEventHandleCallback.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_udev.c