[erlang-questions] What is the proper way of sending messages to pid from enif thread?
Tue Jul 7 18:30:28 CEST 2015
I've created thread in nif function. When I create thread, I know pid of
But later in thread I need to create some environment and send message to
What is the proper way to save this ErlNifPid in C structure so that code
in other thread will be able to send messages.
And as far as I understand, I need to call enif_alloc_env in that thread?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions