[openbeos] Re: driver/module shutdown notification for R1

"Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> Is there anything that speaks against, that the kernel simply stops 
> all 
> services and unloads all drivers/modules when the system is shut 
> down?

In R5 there could still be open file handles that prevent the driver 
from being stopped - also, in which order should they are stopped?
Other than that, one reason not to do it is probably a speed issue. We 
can play around with that, though I think a broadcast message to all 
open modules/drivers might be the fastest thing.

Adios...
   Axel.


Other related posts: