BitMaker.Miner.Cpu.CpuMiner.WorkThread C# (CSharp) Method

WorkThread() private method

Entry point for a standard work thread.
private WorkThread ( ) : void
return void
        void WorkThread()
        {
            try
            {
                // continue working until canceled
                while (!cts.IsCancellationRequested)
                    Work(Context.GetWork(this, GetType().Name));
            }
            catch (OperationCanceledException)
            {
                // ignore
            }
        }