KatePart + KDE 4.4 + QMutex & Co.
Christoph Bartoschek
bartoschek at or.uni-bonn.de
Tue Jul 21 08:50:32 UTC 2009
> It has nothing to do with parsing, but mainly with the highlighting. That
> is something that Qt creator does not (yet) do at all. The highlighting is
> very expensive, and thus it happens in a background thread.
>
> I agree that it would be good simplifying the whole thing somehow, in a way
> that would reduce the cross-kate-kdevelop breakage risks.
Would it be too slow to do the highlighting updates in the GUI thread by
posting events from the highlighting thread to the GUI thread?
If kate is specified to be single thread only then it should be used in this
way. Otherwise it seems that no one takes care to have it thread-safe.
Christoph
More information about the KDevelop-devel
mailing list