X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/537b55f6d4bf8ede2526c2bd6cf79bd38b465dac..d8eb62b207b566949a0d9ce649a7b21e226b9168:/include/xbt/parmap.h diff --git a/include/xbt/parmap.h b/include/xbt/parmap.h index d8c32f8bda..69cac53e61 100644 --- a/include/xbt/parmap.h +++ b/include/xbt/parmap.h @@ -9,20 +9,20 @@ #ifndef XBT_PARMAP_H #define XBT_PARMAP_H -/** \addtogroup XBT_parmap - * \ingroup XBT_misc - * \brief Parallel map. - * - * A function is applied to all elements of a std::vector 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 vector, the worker threads are allowed to fetch themselves remaining work - * with method next() and execute it. - * - * \{ - */ +/** @addtogroup XBT_parmap + * @ingroup XBT_misc + * @brief Parallel map. + * + * A function is applied to all elements of a std::vector 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 vector, the worker threads are allowed to fetch themselves remaining work + * with method next() and execute it. + * + * @{ + */ -/** \brief Synchronization mode of the worker threads of a parmap. */ +/** @brief Synchronization mode of the worker threads of a parmap. */ typedef enum { XBT_PARMAP_POSIX, /**< use POSIX synchronization primitives */ XBT_PARMAP_FUTEX, /**< use Linux futex system call */ @@ -30,6 +30,6 @@ typedef enum { XBT_PARMAP_DEFAULT /**< futex if available, posix otherwise */ } e_xbt_parmap_mode_t; -/** \} */ +/** @} */ #endif