Re: How to safely maintain a status file
> This is not a contradiction. Although the rename operation is atomic,
> the whole "change status" process is not. It is because there are two
> operations: #1 delete old status file and #2. rename the new status
> file. And because there are two operations, there is still a race
> condition. I see no contradiction here.
Christian Heimes <email@example.com> wrote:
>Sorry, but you are wrong. It's just one operation that boils down to
>"point name to a different inode".
For some reason you're assuming POSIX semantics, an assumption that
Laszlo Nagy did not make.
l/ // Ross Ridge -- The Great HTMU
|All times are GMT. The time now is 07:50 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.