Skip to content

Commit

Permalink
use online processors, as suggested by @PizieDust
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Sep 18, 2024
1 parent e4f56c5 commit e2a6e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
CAMLprim value vmm_cpu_count (value unit) {
CAMLparam1(unit);
int r;
r = (int)sysconf(_SC_NPROCESSORS_CONF);
r = (int)sysconf(_SC_NPROCESSORS_ONLN);
CAMLreturn(Val_int(r));
}

Expand Down

0 comments on commit e2a6e6b

Please sign in to comment.