CNoWorkerThread Class
Collapse the table of content
Expand the table of content

CNoWorkerThread Class


Use this class as the argument for the MonitorClass template parameter to cache classes if you want to disable dynamic cache maintenance.


This class and its members cannot be used in applications that execute in the Windows Runtime.

class CNoWorkerThread

This class provides the same public interface as CWorkerThread. This interface is expected to be provided by the MonitorClass template parameter to cache classes.

The methods in this class are implemented to do nothing. The methods that return an HRESULT always return S_OK, and the methods that return a HANDLE or thread ID always return 0.


Header: atlutil.h

© 2015 Microsoft