seamless project model update

Andreas Pakulat apaku at gmx.de
Sat Aug 7 14:15:27 UTC 2010


On 07.08.10 14:00:54, Milian Wolff wrote:
> On Saturday 07 August 2010 13:45:00 Andreas Pakulat wrote:
> > On 07.08.10 13:30:12, Milian Wolff wrote:
> > > On Monday 12 July 2010 13:08:25 Aleix Pol wrote:
> > > > It was 4am and Q_DECLARE_METATYPE was giving me problems. yes it should
> > > > be possible
> > > 
> > > *revive*
> > > 
> > > what happened to this? I'd still like to see the seamless update very
> > > much :)
> > 
> > I posted the results of my experiments in another thread afaik, its not
> > useful to add locking to the project model (and also not really doable
> > as we don't control the complete API).
> > 
> > And 'scheduling' the addition to the model into the main thread would
> > require the foreground lock from the movingranges branch (I don't see
> > any necessity to replicate that code just for this single feature).
> 
> OK, thanks. Then let's wait for movingranges branch to be merged.

Actually I mis-remembered what I did myself :) If you look at the code in
the model you'll notice that adding items from a background thread is
possible already (invokeMethod is being used) and I think there's even a
test for that (though I don't know if it fails without the invokeMethod).

Andreas

-- 
Your boss climbed the corporate ladder, wrong by wrong.




More information about the KDevelop-devel mailing list