Mutexes in USB callbacks ?

M. Warner Losh imp at bsdimp.com
Sat Sep 3 07:18:53 PDT 2005


In message: <200509031614.51362.sebastien.bourdeauducq at gmail.com>
            Sebastien <sebastien.bourdeauducq at gmail.com> writes:
: Hello,
: Is it finally possible or not to acquire a mutex in an USB callback function, 
: under FreeBSD 5-STABLE ?
: I have controversial information about this :(

Since the callback functions are called from an interrupt handler
which is an ithread protected by Giant, there should be no problems
doing this.

Warner


More information about the freebsd-usb mailing list