use the improved and fixed reader/writer lock from TSVN.
Authored by: tortoisesvn 2012-05-02
Parent: [r696]
Child: [r698]