My friend's USB port has a strange problem: if you plug in a USB peripheral to start up, the USB port will not respond after the boot. For example, if you plug in a USB keyboard to start up, the keyboard cannot be used after it is started.
My computer has a similar and more interesting phenomenon: with USB peripherals turned on, the computer cannot be started! Or plug in USB peripherals during the boot process, then the machine immediately stops, just like pressing the pause key!
No matter what the cause is, it reminds me of the C ++ and Java Error Reporting principles.
C ++ tends to put errors in the cradle and try to prompt errors during compilation so that they will not be moved into the runtime.
Java is "exception crazy". If an error occurs, the most likely result is that you will receive a bunch of exceptions during the runtime! Compile again after completion and restartProgramAnd the startup of Java programs is like the old lady, the slow is heartbreaking :-(
My computer is like a C ++. If there are peripherals (errors) on the USB port, you will not be able to boot it.
A friend's machine is quietly letting the machine continue to run until the USB peripherals are used.-exception! -- Oh, you have to restart it!