[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [afnog] lockf() and open() : Theoretical Questions



On Sat, 26 Jul 2003, Alan Barrett wrote:

> Yes, saying that rename() is atomic means that [...] and also that there
> is no externally-observable intermediate state.
>
> The kernel has some intermediate states while it is busy doing the
> rename, but those intermediate states are not observable by non-kernel
> processes.  Non-kernel processes can make observations before the rename
> happens, and can make observations after the rename happens, but the
> kernel prevents them from making observations while the rename is busy
> being performed.

I guess thats +1 to the things I've learnt.

Thank you for your answers.

Gerald.
__________________________________________________
This is the Africa Network Operators' Group(AfNOG) 
technical discussion list.
The AfNOG website is: <http://www.afnog.org>