C# The UI Thread and STA HD

06.04.2018
In a follow on from threads, we really dig deep into the Microsoft source code to understand in granular detail (and a bit of scary C++ IntPtr and MessagePump theory) how Win Forms and WPF applications honour the STA thread requirements. We replace the startup and compile style of WPF to run our own non-WPF specific code in the application, then test our theories and understandings of the Dispatcher objects with the ultimate goal of understanding two key things: 1. How the STA attribute is honoured and why it is required 2. Where the Dispatcher objects come from and why we use them to get onto the UI Thread Support Me: https://patreon.com/angelsix

Похожие видео

Показать еще