Commit c51bb3c342a02536a74ed8c4e739dc76dd145c70

unknown 2009-12-21T16:36:40

Fix a few locking issues on windows.