You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[perf] Fixed PerfWatson in Mono.Debugger.Soft.Connection.disconnected_check (#417)
With another recent PerfWatson fix (824fc62), a lock has been introduced in the disconnected_check method, to mostly control the access of the disconnected property.
This caused a new PerfWatson issue, so this change reverts that extra threading control and instead converts the disconnected boolean variable into a volatile variable, so the latest updated value is always guaranteed for multi threading access, without the need of an unnecessary and blocking lock.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2481686/?view=edit
0 commit comments