![]() |
|
PhoenixThread
1.0.0
Tools to ease parallel programming in C++
|
#include <stdio.h>#include <stdlib.h>
Include dependency graph for pin_thread_to_core.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | PIN_THREAD_TO_CORE if(!pinThreadToCore())exit(1); |
Functions | |
| bool | pinThreadToCore () |
| Pins the current thread to the current core. | |
| #define PIN_THREAD_TO_CORE if(!pinThreadToCore())exit(1); |
Definition at line 16 of file pin_thread_to_core.h.
| bool pinThreadToCore | ( | ) |
Pins the current thread to the current core.
Definition at line 19 of file pin_thread_to_core.cpp.
References handle_error_en.