2D3D-#042 - How to Set Thread Affinity (Windows API), How to Retrieve Processor Configuration

preview_player
Показать описание
std::unique_ptr 04 - Prevent Resource Leak With std::unique ptr

2D3D-#041 - Conventional Multithreading vs. Modern Task-Oriented Programming

Windows API 17 - Processor (CPU) Information and Bitwise Operation

Pro TBB, Page 357 - Chapter 13
Creating Thread-to-Core and Task-to-Thread Affinity

Pro TBB

Download Pro TBB Source Code

1. GetCurrentProcess function

2. GetProcessAffinityMask function

3. CreateThread function

4. ThreadProc callback function

5. SetThreadAffinityMask function

6. ResumeThread function

7. WaitForSingleObject function

8. CloseHandle function

Prerequisites:

Qt-OpenCL#00 - Installation of Qt, Intel TBB, MSVC++, OpenCL and SYCL on Windows

Qt-OpenCL#03 - Install Vulkan 1.30 on Windows for Use with Qt 5.14 and Microsoft Visual Studio 2017

2D3D-#041 - Conventional Multithreading vs. Modern Task-Oriented Programming

2D3D-#040 - Global Thread Pool and Task Arenas

2D3D-#039 - Controlling the Number of Threads Used for Execution

2D3D-#038 - indexed set, indexed map, and indexed binary tree

2D3D-#032 - The Low-Level Task Interface: Part Two - Task Continuation

2D3D-#031 - The Low-Level Task Interface: Part One - Task Blocking

Download Source Code:

Episode 42

Episode 40

Episode 39

Episode 38

Episode 37
Рекомендации по теме