Just learned of this today, so I don't know enough details to judge its suitability for you:
Durus http://www.mems-exchange.org/software/durus/ It does not do locking, but alleges to be compact and easy to understand, so perhaps you could modify it to meet your needs, or find some other way to handle that requirement. -Tom -- To respond by email, replace "somewhere" with "astro" in the return address. -- http://mail.python.org/mailman/listinfo/python-list