[erlang-questions] Calling (equivalent of) erlang:send_after/3 from a NIF?

Roger Lipscombe roger@REDACTED
Tue Oct 30 16:32:18 CET 2018


On 30 October 2018 at 15:19, Lukas Larsson <garazdawi@REDACTED> wrote:
> From the documentation: http://erlang.org/doc/man/erl_driver.html
>
> "Most functions in this API are not thread-safe, that is, they cannot be
> called from arbitrary threads. Functions that are not documented as
> thread-safe can only be called from driver callbacks or function calls
> descending from a driver callback call."
>
> So, you cannot use the driver timer functions in arbitrary threads either.

Plus there's that :-)

Thanks,
Roger.



More information about the erlang-questions mailing list