MultiJob and OneShotJob allow to choose job's way of termination (Kill for multi, Finish for one shot).

This commit is contained in:
Benjamin Bouvier 2012-07-10 17:32:18 +02:00
commit 008f2571b2
3 changed files with 37 additions and 5 deletions

View file

@ -207,7 +207,7 @@ namespace eo
// TODO commentaire : impossible de faire un typedef sur un template sans passer
// par un traits => complique la tâche de l'utilisateur pour rien.
template< typename EOT >
class ParallelApply : public Job< ParallelApplyData<EOT> >
class ParallelApply : public MultiJob< ParallelApplyData<EOT> >
{
public:
@ -216,7 +216,7 @@ namespace eo
int _masterRank,
ParallelApplyStore<EOT> & store
) :
Job< ParallelApplyData<EOT> >( algo, _masterRank, store )
MultiJob< ParallelApplyData<EOT> >( algo, _masterRank, store )
{
// empty
}