The present application relates to the technical field of computer, and provides a synchronous task execution method, device, equipment and medium, the method comprises the following steps: receiving a task
queue set submitted by multiple user processes; obtaining a first execution task from a first task
queue in the task
queue set; in the case that the first execution task is a synchronous task, simulating the first execution task based on a
software language, realizing a synchronization mechanism corresponding to the first execution task; based on the synchronization mechanism and a scheduling rule, executing the execution tasks in the task queue set. The present application simulates the synchronization mechanism corresponding to the synchronous task by
software to schedule the tasks in each task queue, so that each task is executed in turn according to the expected order of the user process, realizing the
software to execute the synchronous task, and at the same time, the task queue that does not meet the execution condition is switched in real time according to the scheduling rule in the
software simulation, avoiding waiting all the time, and further avoiding the
deadlock between processes when multiple processes use the device simultaneously.