다음을 통해 공유


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

CNoWorkerThread::AddHandle

Non-functional equivalent of CWorkerThread::AddHandle.

CNoWorkerThread::AddTimer

Non-functional equivalent of CWorkerThread::AddTimer.

CNoWorkerThread::GetThreadHandle

Non-functional equivalent of CWorkerThread::GetThreadHandle.

CNoWorkerThread::GetThreadId

Non-functional equivalent of CWorkerThread::GetThreadId.

CNoWorkerThread::Initialize

Non-functional equivalent of CWorkerThread::Initialize.

CNoWorkerThread::RemoveHandle

Non-functional equivalent of CWorkerThread::RemoveHandle.

CNoWorkerThread::Shutdown

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