CSPspEmu.Core.Cpu.InstructionCache.MethodCompilerThread.Main C# (CSharp) Method

Main() private method

private Main ( ) : void
return void
        private void Main()
        {
            Console.WriteLine("MethodCache.Start()");
            try
            {
                while (true)
                {
                    var PC = ExploreQueue.ReadOne();
                    //Console.Write("Compiling {0:X8}...", PC);
                    var DynarecFunction = _GenerateForPC(PC);
                    lock (this) this.Functions[PC] = DynarecFunction;
                    //Console.WriteLine("Ok");
                    CompletedFunction.Set();
                }
            }
            finally
            {
                Console.WriteLine("MethodCache.End()");
            }
        }