Cosmos/source/Indy.IL2CPU/IL/CustomImplementations/System/Threading/Interlocked.cs
kudzu_cp 3e05e23892
2008-09-21 23:15:22 +00:00

17 lines
409 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Indy.IL2CPU.Plugs;
using System.Threading;
namespace Indy.IL2CPU.IL.CustomImplementations.System.Threading
{
[Plug(Target=typeof(Interlocked))]
public static class InterlockedImpl
{
public static int Decrement(ref int aData) {
return aData -= 1;
}
}
}