1. A distributed processing device comprising: an object storage unit that stores a continuation object including at least one of a plurality of processes constituting a task and containing data of the task that is being processed; a processor that executes the continuation object retrieved from the object storage unit; and a storage processing unit that stores in a non-transitory computer readable medium, in an execution state file, data stored in the object storage unit, wherein the processor executes a process of a first continuation object and generates a second continuation object, a process of the second continuation object being executed using a result of the process of the first continuation object, and wherein the processor stores the second continuation object in the object storage unit, and then ends executing the process of the first continuation object, further comprising a synchronization variable, wherein: in a case where a process of a third continuation object that is being executed reads a synchronization variable that is in an undefined state, the processor registers a fourth continuation object in the synchronization variable, and then ends executing the process of the third continuation object, and the storage processing unit further stores, in the execution state file, the fourth continuation object registered in the synchronization variable.