Optional mandatory locking
Optional mandatory locking
Posted Dec 16, 2015 23:28 UTC (Wed) by neilbrown (subscriber, #359)In reply to: Optional mandatory locking by nix
Parent article: Optional mandatory locking
Nope. There is an enormous difference between co-operating processes and adversarial processes. Advisory locking is for friends that work together on a common goal and don't want to tread on each other's toes. IPC is for strangers with a contractual arrangement. They really are different scenarios and pretending you can drift smoothly from one to the other is a mistake.
I can agree that it would be nice if IPC were as easy as writing to a file, but I don't agree that you should be able to achieve IPC with minor modifications to code which is written to just write to a file.
Posted Dec 20, 2015 1:08 UTC (Sun)
by nix (subscriber, #2304)
[Link]
Optional mandatory locking