Agora  1.2.0
Agora project
cpu_attach.cc File Reference

Implementation file for cpu attachment helper functions. More...

#include "cpu_attach.h"
#include <pthread.h>
#include <unistd.h>
Include dependency graph for cpu_attach.cc:

Functions

int stick_this_thread_to_core (int core_id)
 
int stick_to_core_and_check (int core_id)
 

Detailed Description

Implementation file for cpu attachment helper functions.

Function Documentation

◆ stick_this_thread_to_core()

int stick_this_thread_to_core ( int  core_id)
Here is the caller graph for this function:

◆ stick_to_core_and_check()

int stick_to_core_and_check ( int  core_id)