Some fixes

This commit is contained in:
Nekotekina 2015-07-01 20:09:26 +03:00
parent 3aefa2b4e1
commit 6f1e76198a
98 changed files with 2326 additions and 2348 deletions

View file

@ -102,7 +102,7 @@ namespace vm
if (old == owner)
{
throw __FUNCTION__;
throw EXCEPTION("Deadlock");
}
old = nullptr;
@ -117,7 +117,7 @@ namespace vm
if (!m_owner.compare_and_swap_test(owner, nullptr))
{
throw __FUNCTION__;
throw EXCEPTION("Lost lock");
}
if (do_notify)