mirror of
https://github.com/upa/mscp.git
synced 2026-02-10 14:54:43 +08:00
10 lines
157 B
C
10 lines
157 B
C
#ifndef _PLATFORM_H_
|
|
#define _PLATFORM_H_
|
|
|
|
#include <pthread.h>
|
|
|
|
int nr_cpus();
|
|
int set_thread_affinity(pthread_t tid, int core);
|
|
|
|
#endif /* _PLATFORM_H_ */
|