Racket *threads* are not truly parallel. So Racket only uses a single core, unless you use *futures* and/or *places*.

Ryan


On 10/05/2011 11:05 PM, Ivanyi Peter wrote:
Hi All,
Is there any reason why the (processor-count) function is only available
in the futures module?
For example if I want to start number of threads that is equal to the
number of cores,
I also need to require the futures module. Is there any way around it?
Should there be any other way? :-)
Thanks,
Peter Ivanyi



_________________________________________________
   For list-related administrative tasks:
   http://lists.racket-lang.org/listinfo/users

_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to