[erlang-questions] How to get pid number in NIF code?

Anthony Ramine nox@REDACTED
Wed Sep 28 09:31:19 CEST 2011


Are you looking for enif_self() [1]?

Regards,

[1] http://www.erlang.org/doc/man/erl_nif.html#enif_self

Le 28 sept. 2011 à 04:57, Jovi Zhang a écrit :

> Hi,
>    I'm writing some code need to get pid number in NIF library, so
> how to do it? I cannot found any nif function relate with it!
>    Thanks very much.
> 
> .jovi
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-- 
Anthony Ramine / @nokusu
Dev:Extend — http://dev-extend.eu/
So as I pray, “Unlimited Erlang Works”




More information about the erlang-questions mailing list