[erlang-questions] non-FIFO behavior in process mailboxes?
Erik Søe Sørensen
eriksoe@REDACTED
Fri Apr 27 22:18:28 CEST 2012
Modeled as synchronous calls how exactly?
If taken literally, it sounds like you're suggesting that the process make
synchronous calls to itself...
Den 27. apr. 2012 21.26 skrev David Mercer <dmercer@REDACTED>:
> On Apr 22, 2012, at 20:38, Michael Turner <michael.eugene.turner@REDACTED>
> wrote:
>
> > This bug came out of experimentation inspired by the recent discussion
> > of initializing objects *after* their creation, a topic raised by
> > Richard O'Keefe. And -- waddya know -- the problem here relates
> > directly to his objection to this practice: inconsistent intermediate
> > states. It appears that when you model your objects as processes, the
> > danger is particularly acute.
>
> If you had modeled the the set_arg_to and set_val_to as synchronous calls,
> like your function val_for – and like gen_server's call rather than cast –
> you can still do this. Though I still agree with ROK.
>
> Cheers,
>
> DBM
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120427/33eb633d/attachment.htm>
More information about the erlang-questions
mailing list