A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #218 from Takishipp/MSG2S4U
[simgrid.git]
/
examples
/
s4u
/
app-bittorrent
/
s4u_tracker.cpp
diff --git
a/examples/s4u/app-bittorrent/s4u_tracker.cpp
b/examples/s4u/app-bittorrent/s4u_tracker.cpp
index
7ddd5e0
..
1b8e3e4
100644
(file)
--- a/
examples/s4u/app-bittorrent/s4u_tracker.cpp
+++ b/
examples/s4u/app-bittorrent/s4u_tracker.cpp
@@
-31,8
+31,8
@@
Tracker::Tracker(std::vector<std::string> args)
void Tracker::operator()()
{
simgrid::s4u::CommPtr comm = nullptr;
+ void* received;
while (simgrid::s4u::Engine::getClock() < deadline) {
- void* received;
if (comm == nullptr)
comm = mailbox->get_async(&received);
if (comm->test()) {