CSE681 - Software Modeling and Analysis

Lecture #6 - Processes and Threads

Revised: 26 October 2006
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, Remote Executive
  4. Final Project #5
  5. CSE784 Class Project Concept Document
  6. Dll Loader Demo, Plugin Demo, Application Domain Demo, Test Harness Prototype
  7. Test Harness Prototype
  8. Excellent Tutorial on C# Threads
  9. Process diagram
  10. Win32 Process Creation
  11. .Net Process Creation
  12. Why threads? demo
  13. Win32 Threads Presentation
  14. .Net Threads Presentation
  15. Queued Messages
  16. Blocking Queue
  17. Thread Problems
  18. Synchronization
  19. .Net FormInvoke Demo
  20. ThreadPool Demo
  21. .Net Worker Thread
  22. Abstract Task Model
  23. 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.