A communication control device that is coupled to an arithmetic processing device being coupled to a main memory that stores data, and including a processing unit that executes an atomic operation for target data on a cache memory that stores the target data when the communication control device outputs an atomic operation request that is used to request the atomic operation, and a notification unit that notifies the communication control device of a result that is obtained by executing the atomic operation on the cache memory, the communication control device comprising:
- a request unit that outputs the atomic operation request to the arithmetic processing device and the main memory when an atomic operation request message that is a message that is transmitted through a network in order to request the atomic operation is received;
- a reception unit that receives processing result notification that is notification of a processing result that is obtained by executing the atomic operation by the atomic operation request that is output from the request unit, from one of the arithmetic processing device and the main memory;
- and
- a control unit that determines processing result notification that is used to generate a response for the atomic operation request message, generates the response using the determined processing result notification, and outputs the generated response to the network, based on a transmission source of the processing result notification that is received by the reception unit and execution information of the atomic operation, which is indicated by the processing result notification, wherein
- the control unit generates the response using execution notification that indicates that the atomic operation is executed on the cache memory when the reception unit receives the execution notification, and generates the response using the first processing result notification from the main memory when the reception unit receives the processing result notification from the main memory without receiving the execution notification.