1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

Clarify doc regarding threading of par-map' and par-for-each'.

* doc/ref/api-scheduling.texi (Parallel Forms): Refine wording for
  `par-map' and `par-for-each'.
This commit is contained in:
Ludovic Courtès 2010-12-17 21:17:42 +01:00
parent 863f11969d
commit 3e0e4f1d87

View file

@ -952,7 +952,8 @@ calls to complete.
The @var{proc} calls are @code{(@var{proc} @var{elem1} @dots{}
@var{elemN})}, where each @var{elem} is from the corresponding
@var{lst}. Each @var{lst} must be the same length. The calls are
made in parallel, each in its own thread.
potentially made in parallel, depending on the number of CPU cores
available.
These functions are like @code{map} and @code{for-each} (@pxref{List
Mapping}), but make their @var{proc} calls in parallel.