-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lucene.Net.Search.ControlledRealTimeReopenThread: Refactor to integra…
…te changes from #513 (#572) * Revert "Revert "Bug Fix: Re-ported ControlledRealTimeReopenThread and added 2 new tests"" This reverts commit 60aef3a. * Lucene.Net.Search.ControlledRealTimeReopenThread: Updated to use Time.SecondsPerNanosecond and Time.MillisecondsPerNanosecond constants rather than literals * Lucene.Net.Search.ControlledRealTimeReopenThread: Made Dispose() lockless and made refreshStartGen and isDisposed atomic * Lucene.Net.Index.ThreadedIndexingAndSearchingTestCase::RunTest(): use using block on LineFileDocs to ensure it is disposed. * Lucene.Net.Search.TestControlledRealTimeReopenThread: Ignore TestStraightForwardDemonstration() and TestMultiThreadedWaitForGeneration(), since they don't play well with other tests due to precision timing * Lucene.Net.Index.ThreadedIndexingAndSearchingTestCase: Use ConucurrentSet<T> rather than ConcurrentHashSet<T>. The latter may have problems with its UnionWith() method. * Lucene.Net.Search.ControlledRealTimeReopenThread: Marked wait handle protected and renamed m_signal so subclasses can receive events * Lucene.Net.Search.ControlledRealTimeReopenThread: Renamed member variable from m_signal to m_notify for clarity * Revert "Lucene.Net.Index.ThreadedIndexingAndSearchingTestCase: Use ConucurrentSet<T> rather than ConcurrentHashSet<T>. The latter may have problems with its UnionWith() method." This reverts commit a93a4a3. * Lucene.Net.Index.IndexReader::Dispose(): Added missing call to GC.SuppressFinalize(this)
- Loading branch information
1 parent
787ac89
commit 0817ee9
Showing
4 changed files
with
351 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.