std::bind(&process::ctrl_close, this, _1));
while (ctrl_close_pending) {
comm.ctrl_flush(false);
- XBT_DEBUG("waiting for %d CTRL CLOSE", ctrl_close_pending);
+ XBT_DEBUG("waiting for %d CTRL_CLOSE", ctrl_close_pending);
ctrl_receive(-1.0);
}
comm.ctrl_flush(true);
}
XBT_VERB("Going to finalize for %s...", __func__);
- // last send, for not losing load scheduled to be sent
- std::for_each(neigh.begin(), neigh.end(),
- std::bind(&process::data_send, this, _1));
finalizing = true;
total_load_running -= real_load;
XBT_DEBUG("send DATA_CLOSE to %zu neighbor%s",
std::bind(&process::data_close, this, _1));
while (data_close_pending) {
comm.data_flush(false);
- XBT_DEBUG("waiting for %d DATA CLOSE", data_close_pending);
+ XBT_DEBUG("waiting for %d DATA_CLOSE", data_close_pending);
data_receive(-1.0);
}
comm.data_flush(true);