mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
don't stop on macos whem -m coremask is set
This commit is contained in:
@@ -27,9 +27,8 @@ int nr_cpus()
|
||||
|
||||
int set_thread_affinity(pthread_t tid, int core)
|
||||
{
|
||||
errno = ENOTSUP;
|
||||
pr_err("setting thread afinity is not implemented on apple\n");
|
||||
return -1;
|
||||
pr_warn("setting thread afinity is not implemented on apple\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user