Re: Question about handshake_receiver in IPC

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Mon Jun 30, 2014 at 14:42:14 -0400, Yuxin Ren wrote:
> I find before handle IPC, we always call handshake_receiver function.
> A basic question is why do we need to handshake receiver? What do we
> do when we handshake_receiver?
 
We check whether the other one is ready to do IPC with us.

> Another thing I note is we have separate handshake_receiver
> (remote_handshake_receiver)
> if the receiver is on the other core.
> What is the difference between those two handshake_receiver functions?

The remote one handles the check on the receivers CPU and finally
transfers the message if it only contains data to transfer.



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.