C# (CSharp) CsDebugScript.Engine.Debuggers.DbgEngDllHelpers ThreadSwitcher - 3 examples found. These are the top rated real world C# (CSharp) examples of CsDebugScript.Engine.Debuggers.DbgEngDllHelpers.ThreadSwitcher extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Used for scoped thread switching. using (var switcher = new ThreadSwitcher(thread)) { // Invoke DbgEng.dll interface function } Use this class for accessing thread information from DbgEng.dll interfaces to insure correct thread information access.For performance reasons, after using scope, previous thread won't be set until it is needed. Always use this class to insure correctness.