[Spread-users] Re: SP_scat_multicast not sending the entire message

Yair Amir yairamir at cnds.jhu.edu
Tue Mar 1 16:32:34 EST 2005


My understanding is that if it is a non-blocking call (which in the
case of the Spread library it should be as far as I know) then the call
should not return with a partial write.

I remember that some very old Linux version had a bug in this regards which
I pointed to Don Becker and he fixed, but that was many years ago.

So, in my opinion, if a partial write occurs on a blocking call
then that is a bug in the OS. What am I missing?


	:) Yair.

Taj Khattra wrote:
> John Schultz wrote:
>>As to your original question Tudor, my best guess would be that some of
>>the code in the Spread client library isn't looping on (signal)
>>interruption as it should.  We will look into this as well.
> i took a look at the calls to send() in SP_internal_multicast(), and
> they seem to loop on EINTR (ret==-1), but do not check for partial
> writes (ret<length).
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users

More information about the Spread-users mailing list