[erlang-questions] Sender punishment removed
Wed Jan 24 22:22:58 CET 2018
Having a timeout inside the pattern matching semantics of receiving
messages would be interesting.
But yes as Guilherme points out how would that work with receiving from
Maybe something along
Msg:Node -> ...
Msg:Node:Sojourn -> ...
Msg:node() -> ...
Msg:_:Sojourn -> ...
where node() would just get compiled to matching the local node.
Well this leaves the question of how would the libraries look like in the
On 24 January 2018 at 21:56, Guilherme Andrade <g@REDACTED> wrote:
> On 23 January 2018 at 13:13, Jesper Louis Andersen <
> jesper.louis.andersen@REDACTED> wrote:
>> I like the point of considering such a change on gen_server, indeed.
> I took a look at the OTP source as this seemed simple enough to implement;
> the code was kind enough to remind me that one can call gen processes on
> remote nodes. At that point any possibility of using the monotonic clock
> breaks down.
> The functionality *could* be restricted to local gen processes, but then
> it's this one more crevasse people have to consider when working with the
> gen behaviours OTP provides, so I don't see it flying as a PR.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions