SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
Typedefs | |
typedef struct s_xbt_parmap * | xbt_parmap_t |
Parallel map data type (opaque type) More... | |
Enumerations | |
enum | e_xbt_parmap_mode_t { XBT_PARMAP_POSIX, XBT_PARMAP_FUTEX, XBT_PARMAP_BUSY_WAIT, XBT_PARMAP_DEFAULT } |
Synchronization mode of the worker threads of a parmap. More... | |
Functions | |
xbt_parmap_t | xbt_parmap_new (unsigned int num_workers, e_xbt_parmap_mode_t mode) |
Creates a parallel map object. More... | |
void | xbt_parmap_destroy (xbt_parmap_t parmap) |
Destroys a parmap. More... | |
void | xbt_parmap_apply (xbt_parmap_t parmap, void_f_pvoid_t fun, xbt_dynar_t data) |
Applies a list of tasks in parallel. More... | |
void * | xbt_parmap_next (xbt_parmap_t parmap) |
Returns a next task to process. More... | |