CNoWorkerThread Class
Use this class as the argument for the MonitorClass template parameter to cache classes if you want to disable dynamic cache maintenance.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CNoWorkerThread
Members
Public Methods
Name |
Description |
---|---|
Non-functional equivalent of CWorkerThread::AddHandle. |
|
Non-functional equivalent of CWorkerThread::AddTimer. |
|
Non-functional equivalent of CWorkerThread::GetThreadHandle. |
|
Non-functional equivalent of CWorkerThread::GetThreadId. |
|
Non-functional equivalent of CWorkerThread::Initialize. |
|
Non-functional equivalent of CWorkerThread::RemoveHandle. |
|
Non-functional equivalent of CWorkerThread::Shutdown. |
Remarks
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.
Requirements
Header: atlutil.h