CSE681 - Software Modeling and Analysis

Lecture #6 - Processes and Threads

Revised: 01 October 2007
Home Courses Code Handouts CoreTech Books Articles Math Research Masters Projects SWDev WebDev News OtherLinks SiteDesign Graduates AllPages Office Hours Notices Contents

CSE681-SWMAA CSE686-IP CSE687-OOD CSE775-DO CSE776-DP CSE778-AWP CSE784-SWS

Lecture #01 Lecture #02 Lecture #03 Lecture #04 Lecture #05 Lecture #06 Lecture #07
Lecture #08 Lecture #09 Lecture #10 Lecture #11 Lecture #12 Lecture #13 Lecture #14

Contents Syllabus

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

Office Hours: Instructor & TAs

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.
  1. The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. For anyone who is still struggling to get Project #1 together, I've put a prototype in cse681/code/CodeGenPrototype.
  3. Project #3, Project #4
  4. Test Harness Prototype
  5. Excellent Tutorial on C# Threads
  6. Process diagram
  7. Win32 Process Creation
  8. .Net Process Creation
  9. Why threads? demo
  10. Win32 Threads Presentation
  11. .Net Threads Presentation
  12. Queued Messages
  13. Blocking Queue
  14. Thread Problems
  15. Synchronization
  16. .Net FormInvoke Demo
  17. ThreadPool Demo
  18. .Net Worker Thread
  19. Abstract Task Model
  20. Lecture #6 folder contains a page of links to presentations and code discussed in this class. The Lecture folders will occasionally hold physical files of interest as well. Usually, however, all the materials of interest to the class are in the presentations and code folders. The contents of these folders will grow as you progress through the course.