The invention discloses a task stealing method and device, a
chip and
computer equipment, and relates to the field of computers. The
computer device includes a plurality of processor cores, the plurality of processor cores including a first processor core and a second processor core, the method being executed by the first processor core, the method including: when a loop
queue associated with the first processor core is empty, determining a loop
queue associated with the first processor core; and stealing the to-be-processed first task from the first block with the stealing authority in the circular
queue associated with the second processor core, and
processing the first task. Therefore, a block management mechanism is adopted to perform block management on the circular queue associated with the processor core, the block with the stealing authority in the circular queue is allowed to start to steal the task, and the write operation or the acquisition operation can be executed on other blocks in the circular queue, so that the task can be acquired from the head or the
tail of the circular queue, and the operation efficiency is greatly improved compared with that of acquiring the task from the head or the
tail of the circular queue. The competition possibility that different processor cores execute different operations on the same circular queue is reduced, so that the
system performance and the reliability of task stealing are improved.