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: cube
Date: Sat Jan 12 22:32:51 UTC 2008
Modified Files:
src/sys/dev/usb: if_aue.c if_auereg.h
Log Message:
workqueue(9) has the non-evident limitation that the caller cannot reuse
the same struct work before workqueue(9) has internally started to work on
the task.
So to make sure that doesn't happen, provide a semaphore not to run the
workqueue multiple times. It might be clearer just skip using workqueue(9)
and use a thread for about everything, but oh well, I leave that to
someone else.
Now is@ can yank his USB-to-Ethernet adapter while the interface is up.
To generate a diff of this commit:
cvs rdiff -r1.106 -r1.107 src/sys/dev/usb/if_aue.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/usb/if_auereg.h
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