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