Passing Filehandles Between Processes

Erickson, John john.erickson@REDACTED
Thu Oct 8 19:41:17 CEST 2009


Hi, I have noticed that Erlang acts strangely when I pass a file handle from one process to another (for local threads).  It seems that the port sends the data back to the process that opened the file rather than the current one using the handle.  Is this a bug?  Or is there a reason this cannot be done?  The only workaround I have found is to close and reopen the file whenever I pass it to a new process.




More information about the erlang-questions mailing list