Skip to content

Commit

Permalink
Lucene.Net.Support.Threading.ReentrantLock::Lock(): Use Uninterruptab…
Browse files Browse the repository at this point in the history
…leMonitor.TryEnter() instead of UninterruptableMonitor.Enter() so we can control what happens while the thread waits. We simply call Thread.Yield() to allow TryLock() to proceed before any waiting threads. Commented tests that depend on IsLocked because the property was removed.
  • Loading branch information
NightOwl888 committed May 23, 2024
1 parent e788218 commit ce7516d
Show file tree
Hide file tree
Showing 2 changed files with 354 additions and 561 deletions.
Loading

0 comments on commit ce7516d

Please sign in to comment.