<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On Wed, Sep 19, 2018 at 5:27 PM Michaƫl COQUARD <<a href="mailto:michael.coquard@ac-nancy-metz.fr">michael.coquard@ac-nancy-metz.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I was expecting only native functions (BIFs / NIFs) are executed on the dirty schedulers.<br>
<br></blockquote><div><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Any work that is lengthy and not cooperative is better served with a task on the dirty scheduler. That way, we avoid blocking the scheduler thread which would mean we would stall processes. Long-running garbage collections are one such thing, so they can get backgrounded on the dirty scheduler. Once the GC is done, the process is moved back onto a "normal" scheduler.</div><br clear="all"></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">J.</div></div>