[erlang-questions] Deterministic destruction of NIF resources

Max Lapshin max.lapshin@REDACTED
Sun Jul 17 12:01:40 CEST 2016


I meant not triggering GC, but calling some explicit function like:

my_resource:release(NifMagicBinary)

that will release everything in C level and convert NifMagicBinary to
something with state "deallocated and not ready for using anymore"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160717/47bdb828/attachment.htm>


More information about the erlang-questions mailing list