mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
14 lines
299 B
C#
14 lines
299 B
C#
using System.Threading;
|
|
using Cosmos.IL2CPU.Plugs;
|
|
|
|
namespace Cosmos.Core.Plugs.System.Threading
|
|
{
|
|
[Plug(Target = typeof(Interlocked))]
|
|
public static class InterlockedImpl
|
|
{
|
|
public static int Decrement(ref int aData)
|
|
{
|
|
return aData -= 1;
|
|
}
|
|
}
|
|
}
|