Erl Ports and Threads
Thu Dec 16 04:54:52 CET 2004
I am wondering, is Erlang Ports are thread safe?
I'm planning to use Erl Interface based Erlang Port. If communicates with
the Erlang node over Standard Input and Output. The communication message
has 2 bytes header indicating the length of the message followed by the
encoded message. If the C program has multiple threads and if they write to
the stdout at the same time, will there be any communication problem?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions