locklib, issue #7