Re: Unable to reap urb after receiving signal using usbfs.

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

 



[quoted lines by Alan Stern on 2015/02/11 at 14:45 -0500]

>Does the poll return immediately after the URB is submitted, or is
>there a delay?  What if you try calling poll _before_ the URB is
>submitted?

poll() is used for the underlying event mechanism, so it's always being caled. 
The entire application (brltty, if you're curious) is a set of event handlers 
that come and go as needed. The signalfd notification is appearing on the very 
first call to poll() after the urb is submitted.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | http://FamilyRadio.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux