Questions regarding MCAPI Specifications

29 views
Skip to first unread message

Miro Can

unread,
Mar 17, 2010, 9:39:26 AM3/17/10
to Multicore Association
Hi,

I've a couple of questions regarding the current MCAPI specifications.

1. The third paragraph of the mcapi_connect_pktchan_i description says
"Attempts to make multiple connections to a single endpoint will be
detected as errors". Does that mean, that at any point of time, a
receiver endpoint can have no more than one open connection?

2. In the below pseudo-code, is it guaranteed that Data11 will arrive
to node 2 before Data12?
In other words, are the messages sent from endpoint EP1 will be
received at the endpoint EP2 following FIFO ordering?

Node 1:
EP1=create_endpoint()
EP3=get_endpoint(EP2)
msg_send(EP1,EP3,Data11)
msg_send(EP1,EP3,Data12)

Node 2:
EP2=create_endpoint()
Data1=msg_recv(EP2)
Data2=msg_recv(EP2)

3. In the below pseudo-code, is it guaranteed that Data11 will arrive
to node 2 before Data12?
In other words, are the messages sent from node 1 will be received at
the endpoint EP2 following FIFO ordering?

Node 1:
EP1=create_endpoint()
EP2=create_endpoint()
EP3=get_endpoint(EP4)
msg_send(EP1,EP4,Data11)
msg_send(EP2,EP4,Data12)

Node 2:
EP4=create_endpoint()
Data1=msg_recv(EP4)
Data2=msg_recv(EP4)

Thanks!

Reply all
Reply to author
Forward
0 new messages