Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc: fix a broken link and cosmetics
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 3 Jul 2019 20:52:06 +0000 (22:52 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 8 Jul 2019 14:20:52 +0000 (16:20 +0200)
docs/source/Deploying_your_Application.rst
docs/source/XML_Reference.rst

index 525d7e3..557d17a 100644 (file)
@@ -33,20 +33,21 @@ archive for files named ``???_d.xml`` for more):
    <?xml version='1.0'?>
    <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
    <platform version="4.1">
-     <!-- The following starts an actor that runs the function `alice` on the given host.
-       -- It is not given any parameter.
+     <!-- The following starts an actor that runs the function `alice()` on the given host.
+       -- It is not given any parameter, so its args is empty.
        -->
      <actor host="host1" function="alice" />
 
      <!-- The following starts another actor that runs `bob()` on host2.
-       -- The argv of this actor contains "3" and "3000" on creation.
+       -- The args of this actor contains "3" and "3000" on creation.
        -->
      <actor host="host2" function="bob" />
        <argument value="3"/>
        <argument value="3000"/>
      </actor>
 
-     <!-- Carole runs on 'host3', has 1 parameter "42" in its argv and one property -->
+     <!-- Carole runs on 'host3', has 1 parameter "42" in its argv and one property. 
+       -- Use simgrid::s4u::Actor::get_property() to retrive it.-->
      <actor host="host3" function="carol">
        <argument value="42"/>
        <prop id="SomeProp" value="SomeValue"/>
index 6949319..7e87d12 100644 (file)
@@ -300,7 +300,7 @@ and a download link.
 **Children tags:** :ref:`pf_tag_config` (must come first),
 :ref:`pf_tag_cluster`, :ref:`pf_tag_cabinet`, :ref:`pf_tag_peer`,
 :ref:`pf_tag_zone`, :ref:`pf_tag_trace`, :ref:`pf_tag_trace_connect`, or
-:ref:`pf_tag_actor` in :ref:`deployment <Deploying_your_Applications>` files.|br|
+:ref:`pf_tag_actor` in :ref:`deployment <deploy>` files.|br|
 **Attributes:**
 
 :``version``: Version of the DTD, describing the whole XML format.