On Mon, 6 Jun 2005, Harald Welte wrote:

> On Wed, Jun 01, 2005 at 12:12:58AM +0200, Harald Welte wrote:
> 
> > > > Wouldn't it help to associate the URB with the file (instaed of the
> > > > task), and then send the signal to any task that still has opened the
> > > > file?  I'm willing to hack up a patch, if this is considered a sane fix.
> > > 
> > > Sounds reasonable, except that not all such tasks will want the signal.
> > > Though I guess the infrastructure to filter the signal out already exists,
> > > so the main missing piece is that urb-to-file binding.
> > 
> > Ok, I'll get something coded shortly.
> 
> Unfortunately this approach is not feasible, since there is no 'reverse
> mapping' from a file to a process.  So for every URB delivery, we would
> have to walk that task_list and check which tasks have opened this file.

What about something like the standard FSETOWN fnctl?

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to