[erlang-questions] Real time audio transcoding with a port driver

Kenneth Lundin kenneth.lundin@REDACTED
Tue Jul 2 12:16:59 CEST 2013

Hi Max,

I don't know why you are thinking that this will work better in R15 than in
Can you point to any specific change in R16 that causes problems?

It has always been a bad idea to execute for a long time (before returning
to the Erlang scheduler) inside a NIF, BIF or linked in driver.

In R16B01 some BIFs and NIFs which potentially could execute for a long
time (based on the size of their input) have been made interruptible. More
specifically this concens the BIF term_to_binary and
the crypto NIFs which handle stream input.

/Kenneth, Erlang/OTP, Ericsson

On Tue, Jul 2, 2013 at 11:17 AM, Max Lapshin <max.lapshin@REDACTED> wrote:

> It is also possible to revert to R15, but in any case if NIF will
> block scheduler, you will have problems with managing hunders of
> streams.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130702/7e3e0420/attachment.htm>

More information about the erlang-questions mailing list