<div dir="ltr">Hi Max,<div><br></div><div style>I don't know why you are thinking that this will work better in R15 than in R16?</div><div style>Can you point to any specific change in R16 that causes problems?</div><div style>
<br></div><div style>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.</div><div style><br></div><div style>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</div>
<div style>the crypto NIFs which handle stream input.</div><div style><br></div><div style>/Kenneth, Erlang/OTP, Ericsson</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 11:17 AM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is also possible to revert to R15, but in any case if NIF will<br>
block scheduler, you will have problems with managing hunders of<br>
streams.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>