[erlang-questions] calling FUN from NIF
Paul Davis
paul.joseph.davis@REDACTED
Tue Sep 13 15:55:37 CEST 2011
There is currently no such behavior in the API. For the moment your
best bet would be to write an Erlang shim that responded to messages
from the NIF that would be written in to be resumable or uses threads
to communicate with the Erlang VM.
On the other hand, there are planned enhancements to the NIF api to
allow such awesomeness. See Rickard's talk at [1].
Paul Davis
[1] http://www.erlang-factory.com/conference/SFBay2011/speakers/RickardGreen
On Tue, Sep 13, 2011 at 12:18 PM, Volodymyr Kyrychenko
<vladimir.kirichenko@REDACTED> wrote:
> Hi All,
>
> Where can I find info/example about calling erlang functions (callback
> funs in particular) from NIFs?
>
> --
> Best Regards,
> Volodymyr Kyrychenko
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list