mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
- Changed plug in ArrayImpl taking 'this' as pointer with the ObjectPointerAccess attribute (this solves the foreach test in HashTable) - Corrected Thread plug signature - Corrected SpinWait plug signature - Added plug for Decimal.Equal (strangely was not required before)
16 lines
417 B
C#
16 lines
417 B
C#
using System;
|
|
using System.Threading;
|
|
using IL2CPU.API.Attribs;
|
|
|
|
namespace Cosmos.System_Plugs.System.Threading
|
|
{
|
|
//[Plug(Target = typeof(global::System.Threading.SpinWait))]
|
|
[Plug(Target = typeof(SpinWait))]
|
|
public static class SpinWaitImpl
|
|
{
|
|
public static void SpinOnce(ref SpinWait aThis)
|
|
{
|
|
throw new NotImplementedException("SpinWait.SpinOnce()");
|
|
}
|
|
}
|
|
}
|