RE: Multithreading

What you could do is register your driver for re-initialization via a
IoRegisterDriverReinitialization() call. This is called in your DriverEntry
routine to avoid long initialization times specifically to address this
problem you are seeing.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: xxxxx@exgate.tek.com
[mailto:xxxxx@exgate.tek.com]
Sent: Friday, September 15, 2000 8:54 AM
To: NT Developers Interest List
Subject: [ntdev] Multithreading

Hi, my driver has to load a large image file onto one or many cards at
driver initialization. It takes a long time. Sometime the system will crash
because the kernel thread waits too long. I am wondering if I can use
multithread in kernel mode and how. I want to create another thread in my
driver to load this image. Could somebody give me an idea? Thanks in
advance.