Sync primitives reworked

(rwlock rewritten)
This commit is contained in:
Nekotekina 2015-01-02 02:41:29 +03:00
parent ac75b62f4d
commit f3cd908d5c
22 changed files with 641 additions and 503 deletions

View file

@ -20,7 +20,7 @@ SemaphoreAttributes SyncPrimManager::GetSemaphoreData(u32 id)
return{};
}
return{ std::string((const char*)&sem->name, 8), sem->value, sem->max };
return{ std::string((const char*)&sem->name, 8), sem->value.read_sync(), sem->max };
}
LwMutexAttributes SyncPrimManager::GetLwMutexData(u32 id)