Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[L07] Don't segfault on point-to-point communications
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 6 Nov 2015 22:03:02 +0000 (23:03 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 6 Nov 2015 22:03:05 +0000 (23:03 +0100)
commitb85de8f1e83118f564f9ee5af0c4d90049147739
treecf197a89ea4212cdeaa0036e811679272d6e375f
parent0d7bbc539130580c39e12e289255dd6c1ba18bdc
[L07] Don't segfault on point-to-point communications

NetworkL07Model::communicate() tries to use host->executeParallelTask(2, ...)
(to change P2P comms into parallel tasks), but host was never
initialized. (fix #28)

We should add a test for that too, I guess.
src/surf/host_ptask_L07.cpp
src/surf/host_ptask_L07.hpp