摘要 |
The present invention is provided with an industrial controller 1 that is characterized by comprising: a storage unit which stores a plurality of operating systems (OSs); at least one shared device which is accessed by the plurality of OSs; and a control unit which records a time at which an OS acquires a lock for preventing conflict that would occur if the OS and another OS accessed the shared device simultaneously, and which, when an OS attempts to acquire the lock of the shared device after the shared device has been locked by another OS, determines whether a time-out has occurred by referring to the time that has already been recorded for the shared device, the current time, and a preset time-out period, and restarts the shared device if it is determined that a time-out has occurred. |