[erlang-questions] enif_send from a thread after NIF returns
Tue Oct 26 15:09:08 CEST 2010
On Tue, Oct 26, 2010 at 2:08 PM, Joel Reymont <> wrote:
> On Oct 25, 2010, at 5:00 PM, Paul Davis wrote:
> > Quite possible. There's a simple example of sending a term in my
> > nif-examples  repo and a fairly more complex example in Emonk .
> It seems that the calling code must wait for the spawned thread to finish
> (join). The documentation states that it's impossible to create detached
> threads and that all threads must be joined.
> How do you spawn a thread from a NIF then, such that it continues to run
> after the spawning NIF returns?
Where in the documentation does it say that? I launch my socket accept
thread in load.
More information about the erlang-questions