File locking isn't exclusive in the same process across threads. Switched to regular...
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 4 Apr 2008 19:44:34 +0000 (19:44 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 4 Apr 2008 19:44:34 +0000 (19:44 +0000)
commitbe69c6fca3b19f87c483091cdfaa99d465d0c1c1
tree890f5266abb129d9c7a531abfc8fa9578d405f89
parent5ecb69227f3d08d10d9dec5b309a2f41bba1a205
File locking isn't exclusive in the same process across threads.  Switched to regular semaphores.  The assumption is sliver_vs.configure is called before Vserver.start(), which sets disk_usage_initialized.  The disk check should be skipped during start, so the lock won't carry over.  ...I hope.
sliver_vs.py