I've committed a revised lightweight dispatcher. Aside from various cleanups (no suspend flags), the main difference is writers are now spun out into separate threads. Also, readers now spawn operation threads instead of performing the operation itself. This is to reduce the clear read flag handling.
Initial tests show this revision performs reasonably well.
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/