Many thanks go to Jan Wielemaker who was open for discussions and also confirmed that our thread clean already exists in the form of Jeff Roses trick.

Further thanks go to Robert Klemme, Andreas Leitgeb and Eric Sosman who shared my general struggles with escalable read write locks.