terminal/src/cascadia/TerminalCore
Carlos Zamora 6657d2c3e5
[deadlock fix] Remove lock for SIUP::GetSelectionRange() (#11386)
## Summary of the Pull Request
The deadlock was caused by `ScreenInfoUiaProviderBase::GetSelection()` calling `TermControlUiaProvider::GetSelectionRange` (both of which attempted to lock the console). This PR removes the lock and initialization check from `TermControlUiaProvider`. It is no longer necessary because the only one that calls it is `SIUPB::GetSelection()`.

Additionally, this adds some code that was useful in debugging this race condition. That should help us figure out any locking issues that may come up in the future.

## References
#11312
Closes #11385 

## Validation Steps Performed
 Repro steps don't cause hang
2021-09-30 22:15:20 +00:00
..
lib Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
ControlKeyStates.hpp Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
ICoreAppearance.idl Add an ENUM setting for disabling rendering "intense" text as bold (#10759) 2021-08-16 13:45:56 +00:00
ICoreSettings.idl Add a setting to disable URL detection (#10022) 2021-05-17 04:20:09 +00:00
ITerminalApi.hpp Allow trailing semicolon when parsing OSC 9;4 (#10024) 2021-05-05 18:12:55 +00:00
ITerminalInput.hpp Split TermControl into a Core, Interactivity, and Control layer (#9820) 2021-04-27 15:50:45 +00:00
packages.config Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Introduce MS.Term.Core.Color to replace W.U.Color for Core/Control/TSM (#9658) 2021-03-30 20:15:49 +00:00
Terminal.cpp [deadlock fix] Remove lock for SIUP::GetSelectionRange() (#11386) 2021-09-30 22:15:20 +00:00
Terminal.hpp [deadlock fix] Remove lock for SIUP::GetSelectionRange() (#11386) 2021-09-30 22:15:20 +00:00
TerminalApi.cpp Make the TerminalApi exception handler less garrulous (#10901) 2021-08-09 18:28:06 +00:00
terminalcore-common.vcxitems Unify and clean up the common build properties (#3429) 2019-11-05 14:29:11 -08:00
TerminalDispatch.cpp Don't override success value when resetting mouse mode in hard reset (#10661) 2021-07-14 16:46:34 +00:00
TerminalDispatch.hpp Initial Implementation for tab stops in TerminalDispatch (#9597) 2021-04-16 16:26:28 +00:00
TerminalDispatchGraphics.cpp Add support for XTPUSHSGR / XTPOPSGR (#1978) 2021-02-17 18:31:52 -08:00
terminalrenderdata.cpp [deadlock fix] Remove lock for SIUP::GetSelectionRange() (#11386) 2021-09-30 22:15:20 +00:00
TerminalSelection.cpp Implement Keyboard Selection (#10824) 2021-09-23 12:24:32 -07:00