mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
92f0499911
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.
The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see
|
||
---|---|---|
.. | ||
WeekView.cs | ||
WeekView.Designer.cs | ||
WeekView.ja.resx | ||
WeekView.resx | ||
WeekView.zh-CN.resx | ||
WlbOptimizePool.cs | ||
WlbOptimizePool.Designer.cs | ||
WlbOptimizePool.ja.resx | ||
WlbOptimizePool.resx | ||
WlbOptimizePool.zh-CN.resx | ||
WlbOptModeScheduler.cs | ||
WlbOptModeScheduler.Designer.cs | ||
WlbOptModeScheduler.ja.resx | ||
WlbOptModeScheduler.resx | ||
WlbOptModeScheduler.zh-CN.resx | ||
WlbReportSubscriptionView.cs | ||
WlbReportSubscriptionView.Designer.cs | ||
WlbReportSubscriptionView.ja.resx | ||
WlbReportSubscriptionView.resx | ||
WlbReportSubscriptionView.zh-CN.resx | ||
WlbReportView.cs | ||
WlbReportView.Designer.cs | ||
WlbReportView.ja.resx | ||
WlbReportView.resx | ||
WlbReportView.zh-CN.resx |