Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure that NS3 simulation advance if there are active flows even if NS3 returns...
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Wed, 7 Sep 2011 08:14:22 +0000 (10:14 +0200)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Thu, 8 Sep 2011 14:56:11 +0000 (16:56 +0200)
commit919f4502f5e39049ce71245b7fcca16e3781800d
tree62921a4e4427078b80f32ed0e7c57a84e40646be
parent7d0421bd87d5d3ceb1345ce3ecf1e21cc4753060
Make sure that NS3 simulation advance if there are active flows even if NS3 returns immediately.
This could be caused by a pause event introduced by a previous "run NS3 for no more than xxx seconds".
Return -1.0 as expected when there are no flows to handle.
src/surf/network_ns3.c