Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[thread_pool] topology: Use sched_getaffinity on Android
Previously, this was done with syscall(__NR_sched_getaffinity, ...) which doesn't get the return value right. (I saw 8 (num cpus) instead of 0.) There doesn't seem to be a reason to use syscall(), so treat Android like generic Linux. PiperOrigin-RevId: 730373336
- Loading branch information