Shared Lock implementation and unit tests.
authorGuido Trotter <ultrotter@google.com>
Fri, 8 Feb 2008 11:23:40 +0000 (11:23 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 8 Feb 2008 11:23:40 +0000 (11:23 +0000)
commit162c1c1f115d3604c3621c84aeb71753563e25a5
tree1bcaffc9f85264c0cde81b3f7411667a44ca57f0
parente2618bc74a7320d527f7ff37cce29a8fafbf3ab5
Shared Lock implementation and unit tests.

Adding a locking.py file for the ganeti locking library. Its first component is
the implementation of a non-recursive blocking shared lock complete with a
testing library.

Reviewed-by: imsnah, iustinp
lib/locking.py [new file with mode: 0644]
test/Makefile.am
test/ganeti.locking_unittest.py [new file with mode: 0755]