[Spread-users] Spread Questions: Asynchronous/Receive with timeout

Ryan Caudy rcaudy at gmail.com
Sat May 7 16:06:16 EDT 2005


Answer 1:
I'm not certain I understand what you mean by asynchronous, in this case. 
Spread tries to provide various semantics on top of asynchronous networks. 
It doesn't support persistence, so if there is no receiver for a message 
when it is ready to be delivered, it will not be delivered to anyone.

Answer 2:
Not that I know of, but it wouldn't be hard to implement. Since an mbox is a 
socket, you could use select or poll to accomplish this.


On 5/6/05, Li, Grant <Grant_Li at csgsystems.com> wrote:
> Hi,
>  I'm pretty new to Spread, so please bear with me if my questions are very 
> basic:
>  1) Does Spread support asynchronous communications? I ran the sample 
> program flooder.c with -wo and -ro flags. It seems like that messages are 
> disappeared if messages are sent by a sender while a receiver is not 
> running.
> 2) Is it possible that a SP_receive() call can wake up after a timeout?
>  Thank you for your help.
>  Grant Li
> CSG Systems, Inc.
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20050507/b0dcb8d6/attachment.html 

More information about the Spread-users mailing list