Use `current-processor-count' to determine the number of future-workers.
authorLudovic Courtès <ludo@gnu.org>
Tue, 7 Dec 2010 22:11:53 +0000 (23:11 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 7 Dec 2010 22:13:20 +0000 (23:13 +0100)
commit51fc066ae25a0e1aa272a2eba9ecd7b42dc9ea41
tree90cf2f7f2e0e9524e10f2de828208c791a3ddeef
parentf0c0141fe4bd478edc8205b1eae793f0474d4aa3
Use `current-processor-count' to determine the number of future-workers.

* module/ice-9/futures.scm (%worker-count): Use
  `current-processor-count'.

* doc/ref/api-scheduling.texi (Futures): Add note about side-effects and
  I/O.  Mention `current-processor-count'.
doc/ref/api-scheduling.texi
module/ice-9/futures.scm