Commit b30b4260 authored by Kay Sievers's avatar Kay Sievers
Browse files

libudev: clarify that udev_monitor_receive_device() is non-blocking

Based on a patch from: Sam Thursfield <>
parent 10b6f904
......@@ -28,7 +28,7 @@ LIBUDEV_REVISION=1
......@@ -494,6 +494,11 @@ tag:
* Only socket connections with uid=0 are accepted.
* The monitor socket is by default set to NONBLOCK. A variant of poll() on
* the file descriptor returned by udev_monitor_get_fd() should to be used to
* wake up when new devices arrive, or alternatively the file descriptor
* switched into blocking mode.
* The initial refcount is 1, and needs to be decremented to
* release the resources of the udev device.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment