Re: my action item for explaining semantics of notify callbacks in SCE-MI pipes

From: Per Bojsen <per.bojsen_at_.....>
Date: Fri Apr 20 2007 - 06:01:03 PDT
Hi Shabtay,

> Actually, even if the first call at simulation start is a blocking
> receive() on an empty pipe, by your proposal ok_to_send callback will
> NOT be called.

That should be OK as the producer on the C side would call the try_send()
function and it would allow it to send as many elements as there is
room for in the empty pipe.  There is no need for an ok_to_send callback
at the beginning of time as far as I can see.

I've been thinking that we should be able to find an analogy to this
protocol in the OS domain, specifically the BSD socket API or perhaps
UNIX pipes.  Perhaps if we could refer to such well-proven designs
we could increase our common understanding and level of comfort with
the correctness of the protocol?

Per




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Apr 20 06:02:32 2007

This archive was generated by hypermail 2.1.8 : Fri Apr 20 2007 - 06:02:42 PDT