Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Link::set_concurrency_limit
authorBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 21 Jun 2021 18:59:32 +0000 (20:59 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 21 Jun 2021 18:59:32 +0000 (20:59 +0200)
commitfcf6c25b7dc7f9074b1f2d83948f4ceeb45c228c
tree3d02f3b7e1268e840a236e82e47ffc91f436df98
parentdd6c6eb3be3c34316c99ab7fa520fe74c5f70ccb
Link::set_concurrency_limit

Allow setting a limit for concurrent flows on platforms links.

Add a simple example limiting the number of flows to 2 in the single
platform link.
examples/cpp/CMakeLists.txt
examples/cpp/comm-serialize/s4u-comm-serialize.cpp [new file with mode: 0644]
examples/cpp/comm-serialize/s4u-comm-serialize.tesh [new file with mode: 0644]
include/simgrid/s4u/Link.hpp
src/s4u/s4u_Link.cpp
src/surf/network_interface.cpp
src/surf/network_interface.hpp