ArchiveComparer2.Library.ArchiveDuplicateDetector.SearchThreading C# (CSharp) Method

SearchThreading() public method

public SearchThreading ( DuplicateSearchOption option ) : void
option DuplicateSearchOption
return void
        public void SearchThreading(DuplicateSearchOption option)
        {
            ParameterizedThreadStart ts = new ParameterizedThreadStart(SearchThreadingImpl);
            if (_thread == null || _thread.ThreadState == ThreadState.Stopped)
            {
                _thread = new Thread(ts);
                _thread.Priority = ThreadPriority.Lowest;
                _thread.Start(option);
            }
        }