[erlang-questions] enif_send backpressure
Lukas Larsson
lukas@REDACTED
Mon May 29 14:13:58 CEST 2017
Hello,
On Thu, May 25, 2017 at 2:20 PM, Roger Lipscombe <roger@REDACTED>
wrote:
> Is there any way to implement something similar for enif_send from a NIF?
>
It is possible to get that information in the current implementation, but
it may very well not be possible in future implementations. We don't want
to create an API that exposes an implementation detail that may very well
change in the future. If you need that type of back pressure, you should
implement your own synchronization mechanism.
Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170529/10c2ca36/attachment.htm>
More information about the erlang-questions
mailing list