Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Sam Baskinger
All, It was suggested that more demo code would be welcome. I've gotten the OK to release a shared/exclusive Lock.java implementation we have in our test labs at Networked Insights. If the community would find it useful, please do use it! :) All the best, and thanks for the excellent tool,

Re: Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Henry Robinson
Sam - This is great - the more contributed code the better! Did you attach the code to your mail? The mailing lists strip out attachments. If you wouldn't mind creating a JIRA (see https://issues.apache.org/jira/browse/ZOOKEEPER), formatting your code as a patch and clicking the button that says

Re: Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Sam Baskinger
Mahadev and Henry, Thanks for the warm welcome and patience. :) The code is lightly used and has been manually tested to block and release. As Networked Insights transitions code out of its labs it generally matures the code through a refactor and adding additional tests. This code is still