The invention discloses a reconfigurable fault-tolerant starting method for a multicore
operating system. The reconfigurable fault-tolerant starting method for the multicore
operating system comprises the following steps that a
synchronizing signal is set as initial state; a
spin lock is set to be unoccupied; after each processor core finishes initialization, the
spin lock is applied; the processor core which successfully applies for the
spin lock enters an inter-core
mutual exclusion critical zone, and the rest processor cores are blocked on the spin lock; a self processor core ID (identity) is set as a main core ID number by the processor core which successfully applies for the spin lock first, the
synchronizing signal is set, and then the spin lock is released; the processor cores which subsequently successfully apply for the spin lock are known as slave cores by a read value, the processor core corresponding to a main core ID is a main core, and the spin lock is released; after the main core finishes the initialization of a memory,
bus equipment and the inner core of the
operating system, an inter-core
synchronizing signal is set to start the slave cores, and therefore the main core and the slave core simultaneously begin to schedule tasks. According to the reconfigurable fault-tolerant starting method for the multicore operating
system, which is disclosed by the invention, other processor cores still can be normally started to operate when the main core fails, and the reliability of a multi-core computer is improved.