<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Message: 4<br>
Date: Tue, 7 Aug 2012 21:13:35 -0300<br>
From: Rodolfo Carvalho <<a href="mailto:rhcarvalho@gmail.com">rhcarvalho@gmail.com</a>><br>
To: Racket-users <<a href="mailto:users@racket-lang.org">users@racket-lang.org</a>><br>
Subject: [racket] futures-enabled?<br>
Message-ID:<br>
<<a href="mailto:CANkx08i9M5SQpd5GPi8m0_e3%2BRh%2Bk1NjqZr%2Bp2V_nJCYy%2BT66A@mail.gmail.com">CANkx08i9M5SQpd5GPi8m0_e3+Rh+k1NjqZr+p2V_nJCYy+T66A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
The documentation on<br>
Futures<<a href="http://docs.racket-lang.org/reference/futures.html" target="_blank">http://docs.racket-lang.org/reference/futures.html</a>>says that:<br>
<br>
Currently, parallel support for future is enabled by default for Windows,<br>
> Linux x86/x86_64, and Mac OS X x86/x86_64.<br>
<br>
<br>
<br>
I installed Racket 5.3 from the 32-bit Windows installer, and when I run<br>
(futures-enabled?) it returns #f.<br>
I tried from DrRacket (both on the definitions and interactions panels) and<br>
racket interpreter.<br>
<br>
I have an Intel Core 2 Duo CPU and Racket sees the 2 cores:<br>
> (processor-count)<br>
2<br>
<br>
<br>
Does it really mean I didn't get parallel futures enabled?<br></blockquote><div><br></div><div>This is a bug in the futures-enabled? implementation (it is erroneously returning #f regardless of whether futures are in fact enabled). If you used the installer futures should be enabled on your platform (futures-enabled? doesn't have any effect on whether futures run in parallel or not). I'm pushing a fix for this.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Regards,<br>
<br>
Rodolfo Carvalho<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.racket-lang.org/users/archive/attachments/20120807/df2ec11b/attachment-0001.html" target="_blank">http://lists.racket-lang.org/users/archive/attachments/20120807/df2ec11b/attachment-0001.html</a>><br>
<br></blockquote></div>