[erlang-questions] calling FUN from NIF
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 .
On Tue, Sep 13, 2011 at 12:18 PM, Volodymyr Kyrychenko
> 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
More information about the erlang-questions