#include <pthread.h>
Go to the source code of this file.
◆ as_cpu_assign_thread()
static int as_cpu_assign_thread |
( |
pthread_t | thread, |
|
|
int | cpu_id ) |
|
inlinestatic |
Assign a running thread to a specific cpu core.
Definition at line 65 of file as_cpu.h.
◆ as_cpu_assign_thread_attr()
static int as_cpu_assign_thread_attr |
( |
pthread_attr_t * | attr, |
|
|
int | cpu_id ) |
|
inlinestatic |
Assign a thread attribute to a specific cpu core.
Definition at line 43 of file as_cpu.h.