[erlang-questions] What is the proper way of sending messages to pid from enif thread?

Max Lapshin max.lapshin@REDACTED
Wed Jul 8 11:38:09 CEST 2015


I've found my problem:

I need to run enif_self in initializing function and use that  pid in
thread env.

When I was calling enif_get_local_pid and etc, it was not working.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150708/9242adb6/attachment.htm>


More information about the erlang-questions mailing list