From ad4ea2d78e386cd96d0844928a2b46c93ef07080 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 5 Mar 2020 11:24:35 +0100 Subject: [PATCH 1/1] forgot to document this new example :) --- examples/README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ------------------------- -- 2.20.1