#981 UI locked

CVS_version
closed
Dare Obasanjo
Search (20)
7
2012-09-23
2007-02-24
No

UI lock down got me today:
I just break into debugger and noticed it just waits for the LuceneIndexModifiers thread.
There is a main loop with a one minute thread.sleep() call, the UI task (I added a new
feed and the feedhandler just want to add the newly retrieved items to the index via
indexModifier.AddRange()) blocked on the lock(this.pendingIndexOperations.SyncRoot)
and the IDE /CLR 2.0 displayed: "Thread is in sleep/wait or join mode".
It seems somehow the one minute sleep call seems to also block the pending index
operation queue modifications. Also there is a second lock variable (SyncRoot) that
may interfere with the other.

This issue may be releated to the other high CPU usage bug reports.

Discussion