X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ba9dd101068054af5f53a5d19d3cbeedb73f8e1..6787a8635b89edd97f244af4fbd8becac9b80993:/examples/README.rst diff --git a/examples/README.rst b/examples/README.rst index 538cc71051..a7edc209fb 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -141,6 +141,15 @@ Starting and Stoping Actors See also :cpp:func:`sg_actor_daemonize` and :cpp:func:`sg_actor_is_daemon`. + - **Specify the stack size to use** + The stack size can be specified by default on the command line, + globally by changing the configuration with :cpp:func:`simgrid::s4u::Engine::set_config(std::string)`, + or for a specific actor using :cpp:func:`simgrid::s4u::Actor::set_stacksize` before its start. + + .. tabs:: + + .. example-tab:: examples/s4u/actor-stacksize/s4u-actor-stacksize.cpp + Inter-Actors Interactions -------------------------