Okay. Found it. Yes, I was indeed making an assumption. When a signalfd file 
descriptor is closed, it doesn't remove any of the signals that were in its 
queue. The next time a signalfd file descriptor is opened for the same signal, 
therefore, the signal from the closing of the urb on the previous attempt is 
delivered. Flushing the signalfd file descriptor before closing it resolves the 
problem. I guess we all know a little bit more about signalfd now. :-_) Thank 
you for bearing with me.

-- 
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: d...@mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to