- .. example-tab:: examples/s4u/exec-async/s4u-exec-async.cpp
-
- See also :cpp:func:`simgrid::s4u::this_actor::exec_init()`,
- :cpp:func:`simgrid::s4u::Activity::start()`,
- :cpp:func:`simgrid::s4u::Activity::wait()`,
- :cpp:func:`simgrid::s4u::Activity::get_remaining()`,
- :cpp:func:`simgrid::s4u::Exec::get_remaining_ratio()`,
- :cpp:func:`simgrid::s4u::this_actor::exec_async()` and
- :cpp:func:`simgrid::s4u::Activity::cancel()`.
-
- .. example-tab:: examples/python/exec-async/exec-async.py
-
- See also :py:func:`simgrid.this_actor::exec_init()`,
- :py:func:`simgrid.Activity::start()`,
- :py:func:`simgrid.Activity.wait()`,
- :py:func:`simgrid.Activity.get_remaining()`,
- :py:func:`simgrid.Exec.get_remaining_ratio()`,
- :py:func:`simgrid.this_actor.exec_async()` and
- :py:func:`simgrid.Activity.cancel()`.
-
- .. example-tab:: examples/c/exec-async/exec-async.c
-
- See also :cpp:func:`sg_actor_exec_init()`,
- :cpp:func:`sg_exec_start()`,
- :cpp:func:`sg_exec_wait()`,
- :cpp:func:`sg_exec_get_remaining()`,
- :cpp:func:`sg_exec_get_remaining_ratio()`,
- :cpp:func:`sg_actor_exec_async()` and
- :cpp:func:`sg_exec_cancel()`,
-
- - **Remote execution:**
- You can start executions on remote hosts, or even change the host
- on which they occur during their execution.