SimGrid 3.7.1
Scalable simulation of distributed systems
Data Fields
s_xbt_parmap Struct Reference

Parallel map structure. More...

Data Fields

e_xbt_parmap_flag_t status
unsigned work
unsigned thread_counter
unsigned int num_workers
void_f_pvoid_t fun
xbt_dynar_t data
unsigned int index
e_xbt_parmap_mode_t mode
void(* master_wait_f )(xbt_parmap_t)
void(* worker_signal_f )(xbt_parmap_t)
void(* master_signal_f )(xbt_parmap_t)
void(* worker_wait_f )(xbt_parmap_t, unsigned)

Detailed Description

Parallel map structure.


Field Documentation

e_xbt_parmap_flag_t s_xbt_parmap::status

is the parmap active or being destroyed?

index of the current round

number of workers that have done the work

total number of worker threads including the controller

void_f_pvoid_t s_xbt_parmap::fun

function to run in parallel on each element of data

parameters to pass to fun in parallel

unsigned int s_xbt_parmap::index

index of the next element of data to pick

synchronization mode

wait for the workers to have done the work

signal the master that a worker has done the work

wakes the workers threads to process tasks

waits for more work


The documentation for this struct was generated from the following file:


Back to the main Simgrid Documentation page The version of SimGrid documented here is v3.7.1.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen