Minor changes, some bugs fixed

cellVdec headers, cellFsAioRead review, sync stuff review, cellAdec and
cellVpost
This commit is contained in:
Nekotekina 2014-02-20 06:16:17 +04:00
parent d6fe398f79
commit 9351e50f63
19 changed files with 969 additions and 270 deletions

View file

@ -35,6 +35,11 @@ public:
{
}
void initialize()
{
(T&)owner = free_value;
}
~SMutexBase()
{
lock((T)dead_value);
@ -46,6 +51,16 @@ public:
return (T&)owner;
}
__forceinline T GetFreeValue() const
{
return (T)free_value;
}
__forceinline T GetDeadValue() const
{
return (T)dead_value;
}
SMutexResult trylock(T tid)
{
if (Emu.IsStopped())