コード例 #1
0
ファイル: Thread.cs プロジェクト: Paul1nh0/Singularity
        internal static unsafe bool WaitForGCEvent(int currentThreadIndex)
        {
            AutoResetEvent are =
                threadTable[currentThreadIndex].processGcEvent;

            // BUGBUG: The restoration of the gcState should be taken
            // care of by the compiler.
            return(are.WaitOneNoGC());
        }