<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 11:40 AM, Dan Bender <span dir="ltr"><<a href="mailto:danbenderr@gmail.com" target="_blank">danbenderr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Jesper, where can I read about dirty schedulers?</div><div>Is there an ETA for R17?</div><div>I saw something about native processes. Is there info about it?</div>
</blockquote></div><br>Dirty schedulers are currently scheduled for R17 which is in turn planned for a release around February 2014 I think. DS's and Native processes are not there yet, so documentation on them are currently not existing and you cannot in general rely on them being there in the next release.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>You can use a NIF today, but you will have to solve the problem by either breaking up your 3-4ms frame encoding in 4+ blocks and then call the NIF multiple times. You should also be calling enif_consume_timeslice() frequently while doing so.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>The other solution is to have a background thread which communicates back with a message when it is done. The NIF can then invoke this background thread with work. I do not have an example however, of this being done.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style><br></div></div>