don't stop on macos whem -m coremask is set

This commit is contained in:
Ryo Nakamura
2022-11-18 22:24:46 +09:00
parent 7f9c63fa92
commit f4d04b848e

View File

@@ -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