Source-Changes archive

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

Re: CVS commit: src/sys/kern



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> writes:

> e.g. when one thread renames a file and another is looking it up
> (almost) simultaneously, i think that there's no problem even if
> the latter thread find the renamed old entry.  it can occur anyway when
> the latter gets ahead of the former.
> 
> YAMAMOTO Takashi

Hmm, then following comment is now obsolete.

enami.

        /*
         * Check that the lock succeeded, and that the capability number did
         * not change while we were waiting for the lock.
         */
        if (error) {



Home | Main Index | Thread Index | Old Index