mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
fix warning in AD7Process.cs, MonitorImpl.cs remove introp assembly from Cosmos.Debug.VSDebugEngine.csproj to fix warning
23 lines
713 B
C#
23 lines
713 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Cosmos.IL2CPU.Plugs;
|
|
|
|
namespace Cosmos.System.Plugs.System.Threading {
|
|
//TODO: We dont support threading at all, but a lot of .NET calls these
|
|
// and therefore interferes with us using them. Since we don't support threading
|
|
// currently we can just ignore them by creating empty plugs.
|
|
[Plug(Target = typeof(global::System.Threading.Monitor))]
|
|
public class MonitorImpl {
|
|
public static void Enter(object aObj) {
|
|
}
|
|
|
|
public static void Exit(object aObj) {
|
|
}
|
|
|
|
public static void ReliableEnter(object obj, ref bool tookLock) {
|
|
tookLock = true;
|
|
}
|
|
}
|
|
}
|