[erlang-questions] writing a linked in driver by hand or using a tool.
Tue Aug 10 18:00:15 CEST 2010
On Tue, Aug 10, 2010 at 9:20 AM, Max Lapshin <> wrote:
> On Tue, Aug 10, 2010 at 4:44 PM, Rapsey <> wrote:
>> R14 added support for sending messages from a NIF thread to an erlang
> But what convenient way of sending messages into NIF thread?
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
NIF's allow you to create threads. So you can just create a worker
thread when the NIF is loaded. When calling a NIF function from
Erlang, you just push the request onto a queue for the thread and let
the thread handle it and send the response back to the requesting pid.
More information about the erlang-questions