摘要 |
PROBLEM TO BE SOLVED: To improve communication bandwidth performance in a data communication system in a multiprocessor system. SOLUTION: A sending processor 1 consists of a means which regularly selects one between two communication buffers 311 of shared memory, a write locking means 12 which changes the selected communication buffer into an unwritable state to inhibit write by other processors, a data writing means 13 that copies data from local memory to a receiving processor, a write completion notifying means 14 which notifies write completion to the receiving processor and a sending end deciding means 15 which decides the end of sending processing to a sending request. The receiving processor 2 comprises a communication buffer selecting means 21 which selects one between the two buffers 311 of the shared memory with a rule that is the same with the selecting means of the sending processor, a read waiting means 22 which waits for the selected communication buffer to be in a readable state, a data reading means 23 that copies data from the communication buffer to the local memory, a read completion notifying means 24 that changes the communication buffer into a writable state after reading data and a reception end deciding means 25 to a receiving request. |