[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kdeui/icons
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2007-07-20 11:04:04
Message-ID: 200707201404.04915.rivolaks () hot ! ee
[Download RAW message or body]

Ühel kenal päeval (reede 20 juuli 2007) kirjutas David Faure:
> On Friday 20 July 2007, Rivo Laks wrote:
> > SVN commit 690208 by rivol:
> >
> > Use KLockFile on Windows (it doesn't have flock())
>
> Why not use KLockFile everywhere, to keep the code simple and portable?
>
> ifdefs have a tendency to break since any change is only tested on half the
> code paths...

KLockFile should to be slower than just flock() as it does lots of stuff which 
I don't really need. So for performance reasons I decided to use just flock() 
(and no, i haven't actually profiled how much slower it is).

Rivo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic