CSE681 - Software Modeling and Analysis
Lecture #10 - Processes and Threads
Revised: 16 June 2007
Web Resources:
UML
XML, HTML
Code Project
Microsoft Developer's Network
DevelopMentor
XML
Sells Brothers
Windows Developer's Journal
Windows Forms
DotNetJunkies
GotDotNet
C# Corner
Mono Project
Content:
This lecture is an introduction to processes and threads from both the Win32 and the .Net perspectives.
Today we talk about creating processes, creating and using threads, thread safety, and we
give a lot of code examples.
-
The Syllabus describes topics to be covered,
reading material for you to digest before coming to class, and due dates
for the assigned projects.
-
For anyone who is still struggling to get Project #1 together, I've put a prototype in
cse681/code/CodeGenPrototype.
-
Project #3,
Project #4
-
Process diagram
-
Win32 Process Creation
-
.Net Process Creation
-
Why threads? demo
-
Win32 Threads Presentation
-
.Net Threads Presentation
-
Queued Messages
-
Queued Messages with synchronized methods
-
Blocking Queue
-
Threaded Mediator
-
Thread Problems
-
Synchronization
-
.Net FormInvoke Demo
-
ThreadPool Demo
-
Form's BackgroundWorker
-
.Net Worker Thread
-
Abstract Task Model