This document is archived and information here might be outdated.  Recommended version.


DllThreadManager Class (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Framework)  

DllThreadManager Class

DllThreadManager CoType.

DllThreadManager is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IDllThreadManager Provides access to an event that DLL thread managers listen for.

Remarks

Multithreading refers to a software configuration where independent paths of execution are in use simultaneously in an application. Each thread has its own stack and its own CPU state.

A DLLThreadManager object is any object that implements the IDllThreadManager interface. The DLLThreadManager object will be notified prior to application shutdown so that all currently running threads can be exited cleanly before the Application process actually shuts down. If you are developing components that will create threads and will be used in any of the ArcGIS application processes, the dll that contains these components must also contain an object that implements IDllThreadManager. Also, you must use the IMultiThreadedApplication interface to register this thread manager object with that application.