[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] KSharedFile RFC
From: Holger Freyther <freyther () gmx ! net>
Date: 2001-12-17 13:23:05
[Download RAW message or body]
Am Sonntag, 16. Dezember 2001 21:16 schrieb Preston Brown:
> On Sun, 2001-12-16 at 12:12, Holger Freyther wrote:
> > Hi Cornelius, kde-pims,
> > Cornelius and me created KSharedFile. Cornelius I added all the stuff you
> > missed and I think my file is ready for committing. I would like to add
> > it to kio? Any comments>
>
> If you guys don't mind that this implementation is riddled with race
> conditions, there isn't really a problem. Otherwise, I suggest you look
> into standard locking procedures like flock(), which has already dealt
> with these issues (the locking is implemented as an atomic operation).
Hi man,
Do you think there's a race condition? Really? are sure? As far as I know is
hard linking an atomic operation. EIther I can hardlink or not. Otherwise the
implementation of the fs would be wrong.
regards Holger
PS: look deeper at the code
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic