On Tue, Aug 8, 2017 at 4:56 PM, Zelphir Kaltstahl <zelphirkaltst...@gmail.com> wrote: > I want to parallelize some program using places, so actually using multiple > cores. > > To parallelize as much as possible on any given machine, I'd like to know how > many cores + effect of hyperthreading there are. > > For example I have a CPU with 2 cores, but it supports hyperthreading, so > that I can run 4 processes concurrently. The desired result would then be 4 > instead of 2.
I think `processor-count` does that: http://docs.racket-lang.org/reference/futures.html?q=processor-count#%28def._%28%28lib._racket%2Ffuture..rkt%29._processor-count%29%29 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.