multithreading in c# - pitfalls, mistakes and solutions. goyello olivia tech talks 20014_08
DESCRIPTION
The most common developer mistakes in modern business applications.TRANSCRIPT
The most common developer mistakes
in modern business applications.
„Multithreading in C#
pitfalls, mistakes and solutions.”
[email protected] Senior .NET Developer
Microsoft MVP @D3M80LOlivia Tech Talks 7 VIII 2014
Agenda
A briefoverview
Run and explain
Discussion
Thread – a brief overview
Thread overuse
Thread overviewThread Kernel Object – 350~1240B
Thread Environment Block – 4KB
User Mode Stack – 1MB
Kernel Mode Stack – 12~24KB
https://github.com/D3M80L/SharpProject/tree/master/Threading
Structure of our examples
• 'Example' class and 'ExampleTest'
– OnRun – where the example logic is placed
• State Machine
– Detect 'states' to track excecution point
• Unit Tests and standalone application
– Quickly proof the example
Step by step
Questions
Materials
• Threading in C# - Joseph Albahari
• CLR via C# (4th ed) – Jeffrey Richter
• Patterns of paralel programming – Stephen Toub, Microsoft
• Windows Via C/C++ - Jeffrey Richter and Christophe Nasarre
The most common developer mistakes
in modern business applications.
„Multithreading in C#
pitfalls, mistakes and solutions.”
[email protected] Senior .NET Developer
Microsoft MVP @D3M80LOlivia Tech Talks 7 VIII 2014