Erl Ports and Threads

Casper <>
Thu Dec 16 04:54:52 CET 2004


Hi all,

 

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!

Eranga

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041216/441ed9d5/attachment.html>


More information about the erlang-questions mailing list