摘要 |
The present invention applies to the field of technologies, and provides an inter-manycore communications method. The method includes: applying, by a service manager process, to a microkernel operating system for shared memory, and mapping shared memory, which is allocated by the microkernel operating system, to virtual address space of the service manager process; receiving and recording a service identifier of a registered system service process and a second shared memory address that corresponds to the service identifier; searching, according to a service identifier carried by a system service request, for the second shared memory address that corresponds to the service identifier carried by the system service request; and sending the service identifier carried by the system service request, a first shared memory address, and the second shared memory address that corresponds to the service identifier to the user process. According to the present invention, a problem in the prior art that in a multi-microkernel architecture, communication between a user process and a system service process needs multiple context switches can be solved. |