File: actor-create_d.xml

package info (click to toggle)
simgrid 3.25%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,308 kB
  • sloc: cpp: 100,922; ansic: 68,086; fortran: 6,061; xml: 5,176; f90: 5,123; java: 4,094; python: 2,623; perl: 1,843; sh: 1,241; makefile: 47; javascript: 7; sed: 6
file content (19 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version='1.0'?>
<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
<platform version="4.1">

  <!-- This a weird deployment file: we only start one actor from here and the others from the main().
    -
    -  This is only for the example, but don't do that at home.
    -  Instead, you want to start all your actors from the deployment file.
    -->
   
  <actor host="Fafard" function="sender">
    <argument value="PopPop!"/> <!-- msg as argv[1] -->
    <argument value="other mb"/> <!-- mbox as argv[2] -->
  </actor>
  <actor host="Ginette" function="forwarder">
    <argument value="other mb"/>
    <argument value="mb42"/>
  </actor>
</platform>