erl_bif_timer.c - setup_bif_timer() - returning ref upon erts_pid2proc failure?

Jonas Falkevik jonas.falkevik@REDACTED
Tue Feb 9 19:29:15 CET 2010


This breaks the spec where the pid could be dead.
Sorry.

On Feb 9, 2010, at 5:33 PM, Jonas Falkevik wrote:

> Hi,
> It looks like the function setup_bif_timer could return a ref  
> without setting up the timer.
>
> Which is used by the erlang:send_after/3 and could in theory return  
> a ref where it should not.
>
> Am I missing something?
>
> http://github.com/falkevik/otp/commit/61f57e2e25a
>
>
> Regards,
> Jonas Falkevik



More information about the erlang-patches mailing list