Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rkmanikanta
Beginner
83 Views

Inter-processor communication

Hi,
What are different techniques in used in Inter-processor communication? This question is mainly related to partition based parallel processing where CPUs execute different OSs.
Say CPU 1 executes Linux and CPU2 executes Nucleus. How the program running on CPU1 can communicate to a program running in CPU2.
Can we use Sockets? What else can we use?
Thanks,
Mani
0 Kudos
1 Reply
Dmitry_Vyukov
Valued Contributor I
83 Views

Quoting rkmanikanta

Can we use Sockets? What else can we use?


Yes, you can use sockets, but it's a kind of overkill. Sockets are intended for remote communication.

You can use direct shared memory communication - one processors writes data to memory, and another reads it. That simple.

For waiting/signaling you can use instructions like MWAIT or IPIs (inter-processor interrupts).

Reply