Date: Tue, 18 Mar 2008 20:46:59 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 138048 for review Message-ID: <200803182046.m2IKkxHO059700@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138048 Change 138048 by hselasky@hselasky_laptop001 on 2008/03/18 20:46:22 Add comment about thread safety. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#122 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#122 (text+ko) ==== @@ -3872,6 +3872,10 @@ * than 30 seconds is treated like a 30 second timeout. This USB stack * does not allow control requests without a timeout. * + * NOTE: This function is thread safe. All calls to + * "usbd_do_request_flags" will be serialised by the use of an + * internal "sx_lock". + * * Returns: * 0: Success * Else: Failure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803182046.m2IKkxHO059700>