[erlang-questions] NIF and timing

Jesper Louis Andersen <>
Mon Jun 10 11:14:15 CEST 2013


On Jun 7, 2013, at 2:12 PM, Sverker Eriksson <> wrote:

> If your NIF builds terms that triggers a garbage collection (fills up the heap), that GC will be done before the NIF returns returns to its caller.
> 

How does this fit in with long-running NIFs blocking the scheduler and messing up the scheduler migration code?

Jesper Louis Andersen
  Erlang Solutions Ltd., Copenhagen




More information about the erlang-questions mailing list