Cosmos/source/Indy.IL2CPU.IL/CustomImplementations/System/Threading/Interlocked.cs
mterwoord_cp 37c9966421
2008-05-19 09:41:18 +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;
}
}
}