Fundamentals of
C++

Totally free education on the Internet

About · FAQ ·Tell a Friend · Comments  · Course Home Page  ·  IT Learning Center

About this Course

coverIT05.jpg (2354 bytes)

This course is intended for serious computer hobbyists, IT students, and IT professionals. You need Windows and Visual C++ installed.

The free online textbook for this course is Visual C++ 6 Unleashed . Read the Introduction to the book.

offiste01.jpg (430 bytes) Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to the assigments.

 

Lesson 16. Multithreading

The Win32 operating systems support multiple processes, which are given their own memory address space. In addition, Win32 supports multiple threads within a process. When any application (or process) starts, it has one primary thread. The application then may start up additional threads, which execute independently. All threads share the one memory space of the process in which they are created.

In this lesson, you will see how to:

  • Create your own multithreaded applications with MFC.
  • Enable multithreading in your applications.
  • Create worker threads for background processing.
  • Create user-interface threads.
  • Synchronize your threads.

Reading Assignments

Read the following sections from your free online textbook:

offiste01.jpg (430 bytes) Win32 Processes, Threads, and Synchronization
offiste01.jpg (430 bytes) Using Multiple Threads in Your Application
offiste01.jpg (430 bytes) Using Worker Threads
offiste01.jpg (430 bytes) Using User-Interface Threads
offiste01.jpg (430 bytes) Thread Synchronization
offiste01.jpg (430 bytes) Creating a New Process
 

Learning Activities

  1. Use this search box to refine and expand your understanding of new terms and concepts in the reading assignments.

Custom Search
  1. offiste01.jpg (430 bytes) Read the Summary of the lesson.


Web design and curriculum: David L. Heiserman

Copyright © 2005 SweetHaven Publishing Services
All Rights Reserved