[erlang-questions] ErlNifPid question

Caragea Silviu <>
Mon Jul 18 13:14:45 CEST 2016


Hello having two ErlNifPid how I can compare them to know if they refer to
the same PID or not ?

Other than avoiding calling enif_make_pid like:

enif_is_identical(enif_make_pid(env, &pid1), enif_make_pid(env, &pid2))


Silviu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160718/4884f1a0/attachment.html>


More information about the erlang-questions mailing list