[erlang-questions] Driver Threading & Message Sending
Tue Sep 18 08:27:44 CEST 2007
Ulf Wiger wrote:
> If you haven't already done so, you might want to read the tutorials
> in the ERTS User's Guide, e.g. 6.5 - Sample Asynchronous Driver:
> In this example, the driver calls output_port() to send a message to
> the port owner, when there is something to report.
Many thanks for this. I have read and understand the "Interoperability
Tutorial" which uses the "driver_output" function, but when looking in
the documentation on this function - it did not label this funciton as
thread safe. I asked because this seemed like a pretty big "hole" given
the elegance in the rest of Erlang (i.e. I guessed I had missed something)
I will look into this, thanks.
More information about the erlang-questions