File: s4u-actor-create_d.xml

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (19 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (9)
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>