CSE681 - Software Modeling and Analysis

Lecture #6 - Processes and Threads

Revised: 12 October 2005
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
  4. Project #4
  5. Project #4 and #5 Concept Document
  6. Test Harness Prototype
  7. Process diagram
  8. Win32 Process Creation
  9. .Net Process Creation
  10. Why threads? demo
  11. Win32 Threads Presentation
  12. .Net Threads Presentation
  13. Queued Messages
  14. Blocking Queue
  15. Thread Problems
  16. Synchronization
  17. .Net FormInvoke Demo
  18. ThreadPool Demo
  19. .Net Worker Thread
  20. Abstract Task Model
  21. 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.