Skip to content

Use POSIX to find out number of CPUs in hcxpottool#367

Merged
ZerBea merged 1 commit intoZerBea:masterfrom
buzzdeee:hcxpottool_posix
Feb 3, 2026
Merged

Use POSIX to find out number of CPUs in hcxpottool#367
ZerBea merged 1 commit intoZerBea:masterfrom
buzzdeee:hcxpottool_posix

Conversation

@buzzdeee
Copy link
Contributor

@buzzdeee buzzdeee commented Feb 3, 2026

sys/sysinfo.h is Linux only, therefore use POSIX way to find out the number of CPUs.
Should work Linux/*BSD/Mac.

@ZerBea ZerBea merged commit c9ba9cc into ZerBea:master Feb 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants