Start() 공개 메소드

Starts a single thread to pull and process work.
public Start ( ) : void
리턴 void
예제 #1
0
        /// <summary>
        /// Invoked by the host to begin a new miner.
        /// </summary>
        /// <param name="context"></param>
        /// <param name="resource"></param>
        /// <returns></returns>
        public IMiner StartMiner(IMinerContext context, MinerResource resource)
        {
            var miner = new GpuMiner(context, (GpuResource)resource);
            miner.Start();

            return miner;
        }