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