driver loading sequence
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
I have driver A,B and C. A depends on B and B depends on C. So
obviously I will load C first and then B and then A. When C is ready,
it will set an event using SetEvent function to tell B, so does B. B
will wait C's event in init to finish its initialization. So does A.
But I found that waiting an event calling WaitforSingleOject isn't a
good idea in the init function. this will slow down the whole system's
booting up.
any good approach to this issue?
thanks,
Mike
.
Relevant Pages
- Re: Synchronisation needed in Init function of a driver
... The code above is extracted from serial driver, ... only once the Init function of previous driver has returned ?) ... driver in sequence, calling each init function in sequence, so ... If you load some drivers dynamically from an application you may need to ... (microsoft.public.windowsce.platbuilder) - Re: Illegal entry point combination in driver DLL
... I am creating thread in Init function, and I receive error from CReceive: ... Bruce.Eitman AT EuroTech DOT com ... I am creating now Windows Serivice based on Stream Driver, ... combination in driver DLL 'SPC_v_0_1.dll' ... (microsoft.public.windowsce.embedded) - Re: Device Driver for WatchDog using WIN CE 4.2
... Why are you "unable to use activatedeviceEx"? ... Does your driver's init function ... Do you have entries in the registry for the driver? ... beitman AT applieddata DOT net ... (microsoft.public.windowsce.embedded) - Re: Synchronisation needed in Init function of a driver
... The code above is extracted from serial driver, ... The BSP ... (there is still similar code in WINCE ... only once the Init function of previous driver has returned ?) ... (microsoft.public.windowsce.platbuilder) - Re: ce6.0 register active problem
... it means your driver did not load correctly. ... Show us your Init function and the registry settings and we may be able to give you better help. ... Consultancy, training and development services. ... (microsoft.public.windowsce.embedded) |
|