Networked Insights would like to share-back some code for shared/exclusive locking that we are using in our labs.