21 Jun
2012
21 Jun
'12
11:18 a.m.
On Thu, 2012-06-21 at 09:57 -0600, Erich E. Hoover wrote:
On Thu, Jun 21, 2012 at 4:28 AM, Hans Leidekker <hans(a)codeweavers.com> wrote:
...
This is not an atomic operation since you need two Unix calls. So you would need locking or rollback to deal with possible races.
It is my understanding that directories only support advisory locks, are you aware of a way to lock a directory?
No, I don't see a way to fix this other than adding a new primitive to the kernel.