Pal/Thread.Uefi.cs

(完整代码) 493B

using System;

namespace System.Threading
{
    public static class Thread
    {
        public static unsafe void Sleep(int delayMs)
        {
            // Deliberately change sematics of function, to be able run game
            // Proper implementation should multiply by 1000,
            // But that require change to the calculation of ticks
            // and more UEFI related code.
            EfiRuntimeHost.SystemTable->BootServices->Stall(100 * (uint)delayMs);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。