Could this code damage my processor?

前端 未结 7 681
有刺的猬
有刺的猬 2021-02-05 18:50

A friend sent me that code and alleges that it could damage the processor. Is that true?

void damage_processor() {
    while (true) {
        // Assembly code th         


        
相关标签:
7条回答
  • 2021-02-05 19:55

    No. If the point is to feverishly excercise the processor in hopes of breaking it, computer systems have thermal solutions (fans, copper heat exchangers, heat sinks, etc.) to prevent overheating. In the event of a failure in the thermal solution, the BIOS will assert #THERMTRIP and turn off the machine.

    0 讨论(0)
提交回复
热议问题