Patch: wake up duchainlock writers

Milian Wolff mail at
Mon Dec 14 23:42:35 UTC 2009

On Tuesday 15 December 2009 00:24:29 David Nolden wrote:
> I've re-implemented the duchain locking now using a spin-lock behavior,
>  which makes the locking much faster at least in the single-threaded case.
> The sleeping interval (for writers and readers alike) now is 500
>  nanoseconds, maybe that is enough to warrant a good multi-threaded
>  behavior?

I'm doing callgrind profiles over the night for single threads. Tomorrow I can 
also do with up to 9 threads (i7). Of course, PHP and duchainify (since remote 
machine). Please tell me what I should use for --threads N.

Milian Wolff
mail at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the KDevelop-devel mailing list