The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CThreadAffinity Class Reference
[Win32 Threading primitives]

Collaboration diagram for CThreadAffinity:

List of all members.

Detailed Description

A class that wraps the operating system SetThreadAffinityMask API.

Public Types

enum  SelectHow { DontChangeAffinity, SelectSingleProcessor, UseAffinityMask }

Public Member Functions

 CThreadAffinity (HANDLE hThread, SelectHow selectHow, DWORD_PTR affinityMask=0)
 CThreadAffinity (SelectHow selectHow, DWORD_PTR affinityMask=0)
 CThreadAffinity (const CThreadAffinity &rhs)
 ~CThreadAffinity ()
CThreadAffinityoperator= (const CThreadAffinity &rhs)

Member Enumeration Documentation

enum SelectHow


Constructor & Destructor Documentation

CThreadAffinity ( HANDLE  hThread,
SelectHow  selectHow,
DWORD_PTR  affinityMask = 0 

CThreadAffinity ( SelectHow  selectHow,
DWORD_PTR  affinityMask = 0 
) [explicit]

CThreadAffinity ( const CThreadAffinity rhs  ) 

~CThreadAffinity (  ) 

Member Function Documentation

CThreadAffinity& operator= ( const CThreadAffinity rhs  ) 

Generated on Sun Sep 12 19:11:51 2021 for The Server Framework - v7.4 by doxygen 1.5.3