mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
There are issue however: 1. IL2CPU modifications are needed (see the PR for the list of the PR of IL2CPU to merge to make this usable) 2. Some fix in IL2CPU seems to give problems with Dictionary (VMT problem again?) 3. Hashtable with valuetype as key doesn't work (ContainsKey() always return false)
15 lines
377 B
C#
15 lines
377 B
C#
using System;
|
|
using System.Threading;
|
|
using IL2CPU.API.Attribs;
|
|
|
|
namespace Cosmos.System_Plugs.System.Threading
|
|
{
|
|
[Plug(Target = typeof(global::System.Threading.SpinWait))]
|
|
public static class SpinWaitImpl
|
|
{
|
|
public static void SpinOnce(ref SpinWait aThis)
|
|
{
|
|
throw new NotImplementedException("SpinWait.SpinOnce()");
|
|
}
|
|
}
|
|
}
|