mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 09:14:47 +08:00
add -m coremask option
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef _PLATFORM_H_
|
||||
#define _PLATFORM_H_
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
int nr_cpus();
|
||||
int set_thread_affinity(pthread_t tid, int core);
|
||||
|
||||
#endif /* _PLATFORM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user