<div><div dir="auto"><br></div></div><div><div class="gmail_quote"><div dir="ltr">sön 25 nov. 2018 kl. 08:33 skrev Edmond Begumisa <<a href="mailto:ebegumisa@hysteria-tech.com">ebegumisa@hysteria-tech.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">PS. I guess the same question applies to ERL_NIF_DIRTY_JOB_CPU_BOUND or  <br>
ERL_NIF_DIRTY_JOB_IO_BOUND flags when enif_schedule_nif is called from a  <br>
dirty CPU/IO scheduler. Will the future NIF be executed on the very same  <br>
dirty CPU/IO scheduler thread?<br>
<br>
- Edmond -<br>
<br>
On Sun, 25 Nov 2018 17:26:34 +1000, Edmond Begumisa  <br>
<<a href="mailto:ebegumisa@hysteria-tech.com" target="_blank">ebegumisa@hysteria-tech.com</a>> wrote:<br>
<br>
> Hello all,<br>
><br>
> If I call enif_schedule_nif from a regular scheduler thread with the  <br>
> flags argument set to zero, when the emulator gets around to executing  <br>
> it, will my scheduled NIF be called from the very same regular scheduler  <br>
> thread as when I called enif_schedule_nif? Or could it be any regular  <br>
> scheduler thread?<br>
><br>
> Thanks in advance.<br>
><br>
> - Edmond -<br>
></blockquote><div dir="auto"><br></div><div dir="auto">It may be scheduled on any scheduler of the requested type.<br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Rickard Green, Erlang/OTP, Ericsson AB</div><div dir="auto"><br></div></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Rickard Green, Erlang/OTP, Ericsson AB</div>