Open mgradwohl opened 10 years ago
From a quick look, it seems like multiple threads are calculating the CRC, and when they're done they call CMyDoc::ChangeItemState which calls CMyDoc::SafeUpdateAllViews and then we ultimately end up in CMyListView::OnUpdate for each thread, playing the ding multiple times. If we're going to get rid of the current UI, we might want to look into separating UI code from core application code, and then make sure in the new UI we don't fall into this scenario.
Both drop operations work, but when the worker threads think they are done they ding a lot.
Is multiple drops safe? What's going on?