On Sunday 01 February 2009, M. Warner Losh wrote: > In message: <[email protected]> > > Hans Petter Selasky <[email protected]> writes: > : In your patch you remove all error checking! If the taskqueue system does > : not have an API function that can tell if the taskqueue is being drained > : from inside the taskqueue callback, the taskqueue system has to be > : modified! It cannot replace the existing system like it is now! > > Why does the taskqueue system need to provide that? Why can't the > driver set a dying flag in the softc to communicate this fact to the > taskqueue tasks?
That's also possible. Thomas already made a "struct usb2_task" I think, where this flag could be added. --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
