-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
sg4::CommPtr comm = mailbox->put_init(computation_amount, 7e6);
exec->set_name("exec on sender")->add_successor(comm)->start();
- comm->set_name("comm to receiver")->vetoable_start();
+ comm->set_name("comm to receiver")->start();
exec->wait();
comm->wait();
}
sg4::CommPtr comm = mailbox->get_init()->set_dst_data((void**)&received, sizeof(double));
comm->set_name("comm from sender")->add_successor(exec)->start();
- exec->set_name("exec on receiver")->vetoable_start();
+ exec->set_name("exec on receiver")->start();
comm->wait();
exec->wait();