X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/74e53067d0c00064ef01253c0e9f335f1f08ce5a..bc07ec1b28653016934209a9e84e249eebf703f0:/include/xbt/parmap.h?ds=sidebyside diff --git a/include/xbt/parmap.h b/include/xbt/parmap.h index 172ef6be61..7bf69c0208 100644 --- a/include/xbt/parmap.h +++ b/include/xbt/parmap.h @@ -18,12 +18,13 @@ SG_BEGIN_DECL() /** \addtogroup XBT_parmap * \brief Parallel map. * - * A function is applied to the n first elements of a dynar in parallel, - * where n is the number of threads. The threads are persistent until the - * destruction of the parmap object. + * A function is applied to all elements of a dynar in parallel with n worker + * threads. + * The worker threads are persistent until the destruction of the parmap. * - * If there are more than n elements in the dynar, the worker threads should - * fetch themselves remaining work with xbt_parmap_next() and execute it. + * If there are more than n elements in the dynar, the worker threads are + * allowed to fetch themselves remaining work with xbt_parmap_next() and + * execute it. * * \{ */