diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2024-08-26 10:22:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 10:22:42 +0200 |
commit | 58dfb6c89ba3deb23301ddbdd4a8769f4c767dff (patch) | |
tree | fbc1639a28093e4d833571d85de514015c101361 /src/unix/kqueue.c | |
parent | b5eb41d882f72e4f74fad599b20c0c8ec69c0c57 (diff) | |
download | libuv-58dfb6c89ba3deb23301ddbdd4a8769f4c767dff.tar.gz libuv-58dfb6c89ba3deb23301ddbdd4a8769f4c767dff.zip |
win: compute parallelism from process cpu affinity (#4521)
Use GetProcessAffinityMask() to estimate the available parallelism.
Before this commit, it simply used the number of available CPUs.
Fixes: https://github.com/libuv/libuv/issues/4520
Diffstat (limited to 'src/unix/kqueue.c')
0 files changed, 0 insertions, 0 deletions