[Spread-users] flooding mailboxes SP_error (-8)
Alec H. Peterson
alec.peterson at messagesystems.com
Thu May 10 11:59:00 EDT 2007
Hi Jeremy,
On May 10, 2007, at 8:53, Jeremy Ma wrote:
> I'm running into this problem where I have one program sending
> messages to another program yet the receiving program is not
> handling/reading the messages fast enough so after about a minute
> or so, I get an SP_error. The problem lies with my mailbox flooding
> and eventually spread quitting.
Yup, it'll do that.
> One thing that might fix this is if everytime I call a read from my
> mailbox, I read until my mailbox is empty. Is there some function/
> flag in spread that will indicate to me when my mailbox is empty?
SP_poll() is what you're looking for.
Alec
More information about the Spread-users
mailing list