JuliaLang / libuv

Cross-platform asynchronous I/O
http://libuv.org/
MIT License
9 stars 14 forks source link

win: compute parallelism from process cpu affinity (#4521) #38

Closed giordano closed 2 months ago

giordano commented 3 months ago

uv_available_parallelism on Windows is currently inconsistent with uv_thread_getaffinity. This backports https://github.com/libuv/libuv/pull/4521 which fixes this issue.

giordano commented 2 months ago

I'm inclined to merge this PR and #39 in a couple of days if there are no objections, they're simply backports of commits already in upstream, hopefully not very controversial.