Transactional filesystem access

Eduardo Figoli eduardo@REDACTED
Fri Mar 12 16:29:42 CET 2004


I have PidA in MachineA and PidB in machineB, both linked.

When PidB receives a message from PidA, PidB executes a write file accesss function
(using file:prwrite)

Suppose PidB takes T time to write to the file.
- What does it happens when an EXIT from PidA is received on time <T (while
the function in PidB is still executing)?
Is the file parcially written in some case?

- Has someone get around with this kind of situation when dealing with filesystem's access?
- Is some code in OTP I can use for this case?

again many thanks,
Eduardo Figoli

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list