Re: udev_monitor_receive_device() without polling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Jul 27, 2011 at 18:41, Christian Hesse <mail@xxxxxxxx> wrote:
> the function udev_monitor_receive_device() used to be blocking a few releases
> back. After the change I had to make my application poll for events.
> Is there any way to to get a blocking behavior and make it work without
> polling?

You can set all options on the file descriptor directly, you can
retrieve from the monitor.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux DVB]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Add to Google Powered by Linux