Opening the driver file twice causes undefined behaviour and crashes.
It is probably worth throwing some sort of error to the user application if the driver is attempted to be opened a second time. Current behaviour would render each user application unuseable and renders the system unstable.
Opening the driver file twice causes undefined behaviour and crashes.
It is probably worth throwing some sort of error to the user application if the driver is attempted to be opened a second time. Current behaviour would render each user application unuseable and renders the system unstable.