Fix CPU_COUNT check for FreeBSD 13.1+#77867
Fix CPU_COUNT check for FreeBSD 13.1+#77867akoeplinger merged 4 commits intodotnet:mainfrom Thefrank:fbsd_cpucount
Conversation
|
more info: With the two sched checks passing but CPU_COUNT failing it will try and make its own CPU_COUNT...and fail because FreeBSD already has a macro it uses for that. Thinking about it more, the other option would be to opt FreeBSD out of |
|
Switched to For those wondering: |
|
Thank you! |
HAVE_GNU_CPU_COUNT has always incorrectly failed for FreeBSD.
This has not been an issue until FreeBSD 13.1 with its addition of
sched_getaffinityandsched_setaffinity.