mirror of
https://github.com/upa/mscp.git
synced 2026-03-13 03:37:33 +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)
|
int set_thread_affinity(pthread_t tid, int core)
|
||||||
{
|
{
|
||||||
errno = ENOTSUP;
|
pr_warn("setting thread afinity is not implemented on apple\n");
|
||||||
pr_err("setting thread afinity is not implemented on apple\n");
|
return 0;
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user