~ubuntu-branches/ubuntu/quantal/simgrid/quantal

« back to all changes in this revision

Viewing changes to doc/html/group__GRAS__msg.html

  • Committer: Package Import Robot
  • Author(s): Lucas Nussbaum, Martin Quinson, Lucas Nussbaum
  • Date: 2012-06-09 16:24:44 UTC
  • mfrom: (10.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120609162444-xook34f3d6qy5ixj
Tags: 3.7.1-1
[ Martin Quinson ]
* debian/copyright: update FSF address (thanks lintian for noticing)

[ Lucas Nussbaum ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
5
<title>SimGrid: Messages</title>
7
 
 
8
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
 
<link href="doxygen.css" rel="stylesheet" type="text/css" />
10
 
 
11
 
 
12
 
 
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
13
8
<link href="simgrid.css" rel="stylesheet" type="text/css">
14
9
</head>
15
10
<body>
16
 
<div id="top"><!-- do not remove this div! -->
17
 
 
18
 
 
 
11
<!-- Generated by Doxygen 1.7.4 -->
 
12
<div id="top">
19
13
<div id="titlearea">
20
14
<table cellspacing="0" cellpadding="0">
21
15
 <tbody>
22
16
 <tr style="height: 56px;">
23
 
  
24
 
  
25
17
  <td style="padding-left: 0.5em;">
26
 
   <div id="projectname">SimGrid
27
 
   &#160;<span id="projectnumber">3.7</span>
28
 
   </div>
 
18
   <div id="projectname">SimGrid&#160;<span id="projectnumber">3.7.1</span></div>
29
19
   <div id="projectbrief">Scalable simulation of distributed systems</div>
30
20
  </td>
31
 
  
32
 
  
33
 
  
34
21
 </tr>
35
22
 </tbody>
36
23
</table>
37
24
</div>
38
 
 
39
 
<!-- Generated by Doxygen 1.7.6.1 -->
40
25
  <div id="navrow1" class="tabs">
41
26
    <ul class="tablist">
42
27
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
65
50
  <li> <a href="group__API__index.html"><span>Full Index</span></a></li>
66
51
  <li> <a href="group__XBT__API.html"><span>XBT</span></a></li>
67
52
  <li> <a href="group__MSG__API.html"><span>MSG</span></a></li>
 
53
  <li> <a href="group__SIMIX__API.html"><span>SIMIX</span></a></li>
68
54
  <li class="current"> <a href="group__GRAS__API.html"><span>GRAS</span></a></li>
69
55
  <li> <a href="group__AMOK__API.html"><span>AMOK</span></a></li>
70
56
  <li> <a href="group__SMPI__API.html"><span>SMPI</span></a></li>
102
88
<a href="#groups">Modules</a>  </div>
103
89
  <div class="headertitle">
104
90
<div class="title">Messages</div>  </div>
105
 
<div class="ingroups"><a class="el" href="group__GRAS__comm.html">Communication facilities</a></div></div><!--header-->
 
91
<div class="ingroups"><a class="el" href="group__GRAS__comm.html">Communication facilities</a></div></div>
106
92
<div class="contents">
107
93
 
108
94
<p>Defining messages and callbacks, and exchanging messages.  
121
107
<p>There is two way to receive messages in GRAS. The first one is to register a given function as callback to a given type of messages (see <a class="el" href="group__GRAS__msg__cb.html#gada679e069d5516d632542a963a5e921c">gras_cb_register</a> and associated section). But you can also explicitely wait for a given message with the <a class="el" href="group__GRAS__msg__exchange.html#ga9ec85c89a6e59334939d4483c2e04374">gras_msg_wait</a> function.</p>
122
108
<p>Usually, both ways are not intended to be mixed of a given type of messages. But if you do so, it shouldn't trigger any issue. If the message arrives when gras_msg_wait is blocked, then it will be routed to it. If it arrives when before or after <a class="el" href="group__GRAS__msg__exchange.html#ga9ec85c89a6e59334939d4483c2e04374">gras_msg_wait</a>, it will be passed to the callback.</p>
123
109
<p>For an example of use, please refer to <a class="el" href="group__GRAS__ex__ping.html">Ping-Pong</a>. The archive contains much more examples, but their are not properly integrated into this documentation yet. </p>
124
 
</div><!-- contents -->
 
110
</div>
125
111
<p>
126
112
<hr>
127
113
 
132
118
Back to the main Simgrid Documentation page</b></a>
133
119
</td>
134
120
<td align=middle>
135
 
<small>The version of <a href="http://simgrid.gforge.inria.fr">SimGrid</a> documented here is v3.7.<br/>
 
121
<small>The version of <a href="http://simgrid.gforge.inria.fr">SimGrid</a> documented here is v3.7.1.<br/>
136
122
Documentation of other versions can be found in their respective
137
123
archive files (directory doc/html).
138
124
</td>