Howto: unique parsejob

Niko Sams niko.sams at gmail.com
Sat Feb 7 18:27:25 UTC 2009


On Sat, Feb 7, 2009 at 5:48 PM, Milian Wolff <mail at milianw.de> wrote:
> Hi devs!
>
> Again I got a problem I'm not able to solve: How do I make parsejobs unique?
> My case:
>
> clean kdevduchain
> start kdevelop and reopen last documents (3 PHP files)
> each one of these tries to get the internalfunctions which does not exist and
> thus creates a parsejob for it and run it. That way it can be sure it's
> finished and can continue with parsing the real document.
we could create a mutex that lets the other threads wait for the first
one to finish.

Niko




More information about the KDevelop-devel mailing list