SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::xbt::Parmap< T > Class Template Reference

#include <parmap.hpp>

Public Member Functions

 Parmap (unsigned num_workers, e_xbt_parmap_mode_t mode)
 Creates a parallel map object. More...
 
 Parmap (const Parmap &)=delete
 
 ~Parmap ()
 Destroys a parmap. More...
 
void apply (void(*fun)(T), const std::vector< T > &data)
 Applies a list of tasks in parallel. More...
 
boost::optional< T > next ()
 Returns a next task to process. More...
 

Constructor & Destructor Documentation

◆ Parmap()

template<typename T>
simgrid::xbt::Parmap< T >::Parmap ( const Parmap< T > &  )
delete

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