Partager via


CWorkerThread Members

Methods

AddHandle

Call this method to add a waitable object's handle to the list maintained by the worker thread.

AddTimer

Call this method to add a periodic waitable timer to the list maintained by the worker thread.

CWorkerThread

The constructor for the worker thread.

~CWorkerThread

The destructor for the worker thread.

GetThreadHandle

Call this method to get the thread handle of the worker thread.

GetThreadId

Call this method to get the thread ID of the worker thread.

Initialize

Call this method to initialize the worker thread.

RemoveHandle

Call this method to remove a handle from the list of waitable objects.

Shutdown

Call this method to shut down the worker thread.

See Also

Concepts

CWorkerThread Class