[erlang-questions] Binary manipulation
Sun Mar 13 18:09:47 CET 2011
> "Avoid doing lengthy work in NIF calls as that may degrade the
> responsiveness of the VM. NIFs are called directly by the same
> thread that executed the calling Erlang code. The calling scheduler
> thus be blocked from doing any other work until the NIF returns."
> I presume this just means the calling process cannot do any other work
> until the NIF returns and not that all processes can suffer
No. If you have only one scheduler, it obviously means that no other
process will be executed, because the only scheduler is blocked by your
NIF. If you don't set a different configuration, the number of
schedulers corresponds to the number of available processors.
More information about the erlang-questions