NightOwl888 opened a new pull request #572: URL: https://github.com/apache/lucenenet/pull/572
See #513 and #519. This re-applies the changes that were introduced in #513 and patches them so they don't deadlock on macOS. - Lock was removed from `Dispose(bool)` - `AtomicBoolean` added to ensure `Dispose(bool)` is only entered by a single thread. - `AtomicInt64` added for `refreshStartGen`, which is updated and read outside of locks. - Use constants for second/millisecond/nanosecond conversions. - Ignored `TestStraightForwardDemonstration()` and `TestMultithreadedWaitForGeneration()`, since they often fail in CI because of timing check failures (tolerance is too low) - Renamed `intrinsic` field to `m_signal` and marked it protected so subclasses can receive signaling events. - Use `ConcurrentSet<T>` rather than `ConcurrentHashSet<T>` in `ThreadedIndexingAndSearchingTestCase`. - Use using block on `LineFileDocs` in `ThreadedIndexingAndSearchingTestCase`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
