Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/usb
Module Name: src
Committed By: riastradh
Date: Tue Sep 7 10:43:51 UTC 2021
Modified Files:
src/sys/dev/usb: ugen.c
Log Message:
ugen(4): Use cv_wait loop for draining reference count on detach.
- Should be no need to use cv_timedwait because all users have now
been given a wakeup (previously writers were not, so we relied on
the timeouts to work out).
- Need to run this in a loop or else a spurious wakeup could cause us
to free data structures before the users have actually drained.
To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/dev/usb/ugen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index