rkagerer 4 hours ago

The latter missed a golden opportunity to be some kind of async event-based trigger.

throw74848484 15 hours ago

I know it is trying to be funny. But those states are quite normal in modern computer with advanced power management. OS should handle wakeups from deep sleep, or state where temperature of motherboard is 200 celsius.

  • mordae 15 hours ago

    Unlikely. Nothing is specced beyond 140 Celsius and many parts not beyond 80.

    • kxndnddn 10 hours ago

      That statement is far too general and also factually wrong e.g. HT83C51 is specced for operating temperatures of 225 deg Celsius

      • AlotOfReading 9 hours ago

        That's still not a chip where an OS would have to handle motherboard temperatures of 200C, like the original point though. An 8051 is going to be running bare metal. TI has some stuff in the C2000 line that can run FreeRTOS at 200C, but the overwhelmingly vast majority of chips on the market are rated to 150C max.

yomimiva 16 hours ago
  • vjvjvjvjghv 4 hours ago

    Makes sense:

    is_computer_on() int32 is_computer_on(); Returns 1 if the computer is on. If the computer isn't on, the value returned by this function is undefined.