MultiJob and OneShotJob allow to choose job's way of termination (Kill for multi, Finish for one shot).
This commit is contained in:
parent
6600f1db51
commit
008f2571b2
3 changed files with 37 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue