mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
Update InterlockedImpl.cs
This commit is contained in:
parent
00724f38a8
commit
04396b75cd
1 changed files with 4 additions and 0 deletions
|
|
@ -10,5 +10,9 @@ namespace Cosmos.Core_Plugs.System.Threading
|
||||||
{
|
{
|
||||||
return aData -= 1;
|
return aData -= 1;
|
||||||
}
|
}
|
||||||
|
public static int Increment(ref int aData)
|
||||||
|
{
|
||||||
|
return aData += 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue