[erlang-questions] Deterministic destruction of NIF resources

Roger Lipscombe <>
Fri Jul 15 16:39:18 CEST 2016


Sorry, let me rephrase: they're not garbage collected *when* that
process dies. The destructor is sometimes called immediately, and
sometimes at some point in the future. Can I make this deterministic?

And, no, the resource has not been sent to another process or stored in ETS.

On 15 July 2016 at 15:10, Sergej Jurečko <> wrote:
>
> On 15 Jul 2016, at 15:57, Roger Lipscombe <> wrote:
>
> because they're not garbage collected when that
> process dies.
>
>
> Then there is an outstanding reference to the resource. Has it been sent to
> another process or stored in an ETS?
>
>
> Sergej


More information about the erlang-questions mailing list