Patch: wake up duchainlock writers

David Nolden zwabel at googlemail.com
Mon Dec 14 23:24:29 UTC 2009


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?

Greetings, David




More information about the KDevelop-devel mailing list