[erlang-questions] Re: testing asynchronous code

Matthew Sackman <>
Thu Apr 22 00:38:51 CEST 2010


On Wed, Apr 21, 2010 at 12:09:09PM -0700, Jay Nelson wrote:
> 1) Make sure you cast before the Pid leaks out to any callers

Why? Do you think that gives you any guarantee that that message will
arrive in the mailbox before a message sent from a different process? I
would be a little surprised if that's guaranteed.

Matthew


More information about the erlang-questions mailing list