[erlang-questions] Calling (equivalent of) erlang:send_after/3 from a NIF?
Lukas Larsson
lukas@REDACTED
Tue Oct 30 13:17:25 CET 2018
On Tue, Oct 30, 2018 at 11:15 AM Roger Lipscombe <roger@REDACTED>
wrote:
> On 30 October 2018 at 09:37, Lukas Larsson <lukas@REDACTED> wrote:
> > One of the reasons this would be difficult
> > to implement is because it is currently only possible to create timers on
> > normal schedulers. So that functionality would have to be extended to be
> > useable from dirty schedulers, which is no small task.
>
> I'd be using it from a background thread -- cf enif_send(NULL, ...) --
> rather than a dirty scheduler, but I imagine the same constraint
> applies?
>
yes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181030/f49cfdaf/attachment.htm>
More information about the erlang-questions
mailing list