Fixed thread issues

Fixed args passing
Fixed thread stopping/pausing (temporarily)
Fixed problems with SC_Condition and SC_Mutex (partially)
This commit is contained in:
Nekotekina 2014-02-03 17:12:25 +04:00
parent a0c8e116df
commit 311486ed79
10 changed files with 60 additions and 19 deletions

View file

@ -174,7 +174,7 @@ u64 DynamicMemoryBlockBase<PT>::AllocAlign(u32 size, u32 align)
template<typename PT>
bool DynamicMemoryBlockBase<PT>::Alloc()
{
return AllocAlign(GetSize() - GetUsedSize(), 0) != 0;
return AllocAlign(GetSize() - GetUsedSize()) != 0;
}
template<typename PT>