[erlang-questions] Do you wanna play with enif_select?
Wed Dec 7 18:43:37 CET 2016
I'm excited to see progress in the area, but I am struggling to understand
a few things in the enif_select API:
1. Why are the resource extensions required? Couldn't a 'stop' message be
sent to the calling process which could then call a plain old NIF to shut
2. Does the ref parameter have to be a ref? An arbitrary term would be
On Fri, Dec 2, 2016 at 9:22 AM Sverker Eriksson <
> This PR is introducing a new feature enif_select() as a way for
> NIFs to ask for asynchronous notification when a file descriptor
> (a socket for example) is ready for (more) reading or writing.
> The API is not carved in stone yet and we would like some feedback.
> So please, take enif_select for a spin and share your thoughts.
> /Sverker, Erlang/OTP @ Ericsson
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions