Threadsafe project model

Aleix Pol aleixpol at kde.org
Tue Jul 20 12:08:14 UTC 2010


2010/7/17 Nicolás Alvarez <nicolas.alvarez at gmail.com>

> On 16/07/2010, Andreas Pakulat <apaku at gmx.de> wrote:
> > Nothing is reading from the model at all in the background threads, the
> > background parser gets 1 item as input to generate a list of subitems
> > from that (i.e. a folder as input and returns a list of newly generated
> > folder items). It also generates targets and file items along its way
> > but those are simply new'ed with the apropriate parent object.
>
> This isn't correct for CMake parsing, though. KDevelop parses one
> directory at a time, then processes directories added to the model by
> the previous parse pass; while real CMake parses scripts in
> subdirectories immediately when the dir is added, as if it was an
> include().
>
> I reported this to the bug tracker a while ago:
> http://bugs.kde.org/show_bug.cgi?id=238456
>
> --
> Nicolas
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

That's true but not a good point on that discussion.

Reading on the model it's important though. Control Flow has to do this and
we need reading for the project reloading too, though.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100720/7ae0541f/attachment.html>


More information about the KDevelop-devel mailing list