Application and Thread Support Classes
Each application has one and only one application object; this object coordinates other objects in the running program and is derived from CWinApp.
The Microsoft Foundation Class (MFC) Library supports multiple threads of execution within an application. All applications must have at least one thread; the thread used by your CWinApp object is this primary thread.
CWinThread encapsulates a portion of the operating system's threading capabilities. To make using multiple threads easier, MFC also provides synchronization object classes to provide a C++ interface to Win32 synchronization objects.
Encapsulates the code to initialize, run, and terminate the application. You will derive your application object from this class.
The base class for all threads. Use directly, or derive a class from CWinThread if your thread performs user-interface functions. CWinApp is derived from CWinThread.
Base class of the synchronization object classes.
A synchronization class that allows only one thread within a single process to access an object.
A synchronization class that allows between one and a specified maximum number of simultaneous accesses to an object.
A synchronization class that allows only one thread within any number of processes to access an object.
A synchronization class that notifies an application when an event has occurred.
Used in member functions of thread-safe classes to lock on one synchronization object.
Used in member functions of thread-safe classes to lock on one or more synchronization objects from an array of synchronization objects.