• Zebediah Figura's avatar
    ntoskrnl/tests: Also test that IoInvalidateDeviceRelations() during device… · 92456eb7
    Zebediah Figura authored
    ntoskrnl/tests: Also test that IoInvalidateDeviceRelations() during device enumeration doesn't deadlock.
    
    wineusb enumerates new devices and completes IRPs from the same thread (as if it
    were an IRQ thread). On the other hand, the Hauppauge cx231xx USB driver
    performs I/O from within IRP_MN_START_DEVICE. If the wineusb "IRQ" thread is
    currently trying to report a new device, it won't be able to report I/O
    completion, resulting in a deadlock.
    
    Although wineusb could be modified to use more threads, these tests show that
    calling IoInvalidateDeviceRelations() should not block in this situation.
    92456eb7
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...