diff options
author | Anonymized <anonymous@example.com> | 2018-01-20 00:03:13 +0100 |
---|---|---|
committer | Anonymized <anonymous@example.com> | 2018-01-20 00:03:13 +0100 |
commit | 2a53ce66dbd2383ec323b4edac486fee3b54af21 (patch) | |
tree | 73c23e4e98907146ec260bb154ddd261925740df | |
parent | 0482f5a13f5d5e7305c0191385f9715f0acfa359 (diff) | |
download | gnunet-guile2-2a53ce66dbd2383ec323b4edac486fee3b54af21.tar.gz gnunet-guile2-2a53ce66dbd2383ec323b4edac486fee3b54af21.zip |
doc: add diagram draft
that diagram will explain how to interact with guile fibers
-rw-r--r-- | doc/diagram.svg | 369 |
1 files changed, 369 insertions, 0 deletions
diff --git a/doc/diagram.svg b/doc/diagram.svg new file mode 100644 index 0000000..b2017a9 --- /dev/null +++ b/doc/diagram.svg | |||
@@ -0,0 +1,369 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
3 | |||
4 | <svg | ||
5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
6 | xmlns:cc="http://creativecommons.org/ns#" | ||
7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
9 | xmlns="http://www.w3.org/2000/svg" | ||
10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
12 | width="210mm" | ||
13 | height="297mm" | ||
14 | viewBox="0 0 210 297" | ||
15 | version="1.1" | ||
16 | id="svg8" | ||
17 | inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" | ||
18 | sodipodi:docname="diagram.svg"> | ||
19 | <defs | ||
20 | id="defs2"> | ||
21 | <marker | ||
22 | inkscape:stockid="Arrow1Mend" | ||
23 | orient="auto" | ||
24 | refY="0.0" | ||
25 | refX="0.0" | ||
26 | id="marker9460" | ||
27 | style="overflow:visible;" | ||
28 | inkscape:isstock="true"> | ||
29 | <path | ||
30 | id="path9458" | ||
31 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
32 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
33 | transform="scale(0.4) rotate(180) translate(10,0)" /> | ||
34 | </marker> | ||
35 | <marker | ||
36 | inkscape:isstock="true" | ||
37 | style="overflow:visible;" | ||
38 | id="marker9258" | ||
39 | refX="0.0" | ||
40 | refY="0.0" | ||
41 | orient="auto" | ||
42 | inkscape:stockid="Arrow1Mend"> | ||
43 | <path | ||
44 | transform="scale(0.4) rotate(180) translate(10,0)" | ||
45 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
46 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
47 | id="path9256" /> | ||
48 | </marker> | ||
49 | <marker | ||
50 | inkscape:stockid="Arrow1Mend" | ||
51 | orient="auto" | ||
52 | refY="0.0" | ||
53 | refX="0.0" | ||
54 | id="marker9204" | ||
55 | style="overflow:visible;" | ||
56 | inkscape:isstock="true"> | ||
57 | <path | ||
58 | id="path9202" | ||
59 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
60 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
61 | transform="scale(0.4) rotate(180) translate(10,0)" /> | ||
62 | </marker> | ||
63 | <marker | ||
64 | inkscape:stockid="Arrow1Mend" | ||
65 | orient="auto" | ||
66 | refY="0.0" | ||
67 | refX="0.0" | ||
68 | id="marker1311" | ||
69 | style="overflow:visible;" | ||
70 | inkscape:isstock="true"> | ||
71 | <path | ||
72 | id="path1309" | ||
73 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
74 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
75 | transform="scale(0.4) rotate(180) translate(10,0)" /> | ||
76 | </marker> | ||
77 | <marker | ||
78 | inkscape:isstock="true" | ||
79 | style="overflow:visible;" | ||
80 | id="marker1279" | ||
81 | refX="0.0" | ||
82 | refY="0.0" | ||
83 | orient="auto" | ||
84 | inkscape:stockid="Arrow1Mend" | ||
85 | inkscape:collect="always"> | ||
86 | <path | ||
87 | transform="scale(0.4) rotate(180) translate(10,0)" | ||
88 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
89 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
90 | id="path1277" /> | ||
91 | </marker> | ||
92 | <marker | ||
93 | inkscape:isstock="true" | ||
94 | style="overflow:visible;" | ||
95 | id="marker1145" | ||
96 | refX="0.0" | ||
97 | refY="0.0" | ||
98 | orient="auto" | ||
99 | inkscape:stockid="Arrow1Mend" | ||
100 | inkscape:collect="always"> | ||
101 | <path | ||
102 | transform="scale(0.4) rotate(180) translate(10,0)" | ||
103 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
104 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
105 | id="path1143" /> | ||
106 | </marker> | ||
107 | <marker | ||
108 | inkscape:stockid="Arrow1Mend" | ||
109 | orient="auto" | ||
110 | refY="0.0" | ||
111 | refX="0.0" | ||
112 | id="Arrow1Mend" | ||
113 | style="overflow:visible;" | ||
114 | inkscape:isstock="true" | ||
115 | inkscape:collect="always"> | ||
116 | <path | ||
117 | id="path862" | ||
118 | d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " | ||
119 | style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" | ||
120 | transform="scale(0.4) rotate(180) translate(10,0)" /> | ||
121 | </marker> | ||
122 | </defs> | ||
123 | <sodipodi:namedview | ||
124 | id="base" | ||
125 | pagecolor="#ffffff" | ||
126 | bordercolor="#666666" | ||
127 | borderopacity="1.0" | ||
128 | inkscape:pageopacity="0.0" | ||
129 | inkscape:pageshadow="2" | ||
130 | inkscape:zoom="0.98994949" | ||
131 | inkscape:cx="256.71292" | ||
132 | inkscape:cy="706.9882" | ||
133 | inkscape:document-units="mm" | ||
134 | inkscape:current-layer="layer1" | ||
135 | showgrid="false" | ||
136 | inkscape:window-width="1920" | ||
137 | inkscape:window-height="1016" | ||
138 | inkscape:window-x="0" | ||
139 | inkscape:window-y="27" | ||
140 | inkscape:window-maximized="1" /> | ||
141 | <metadata | ||
142 | id="metadata5"> | ||
143 | <rdf:RDF> | ||
144 | <cc:Work | ||
145 | rdf:about=""> | ||
146 | <dc:format>image/svg+xml</dc:format> | ||
147 | <dc:type | ||
148 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
149 | <dc:title></dc:title> | ||
150 | </cc:Work> | ||
151 | </rdf:RDF> | ||
152 | </metadata> | ||
153 | <g | ||
154 | inkscape:label="Calque 1" | ||
155 | inkscape:groupmode="layer" | ||
156 | id="layer1"> | ||
157 | <g | ||
158 | id="g824" | ||
159 | transform="translate(-72.430041,46.504898)"> | ||
160 | <rect | ||
161 | ry="0.16691001" | ||
162 | rx="0.79353571" | ||
163 | y="46.568455" | ||
164 | x="146.4637" | ||
165 | height="12.027124" | ||
166 | width="42.763123" | ||
167 | id="rect815" | ||
168 | style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:#204a87;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> | ||
169 | <text | ||
170 | id="text819" | ||
171 | y="53.735435" | ||
172 | x="152.5325" | ||
173 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
174 | xml:space="preserve"><tspan | ||
175 | style="stroke-width:0.26458332px" | ||
176 | y="53.735435" | ||
177 | x="152.5325" | ||
178 | id="tspan817" | ||
179 | sodipodi:role="line">gnunet-guile</tspan></text> | ||
180 | </g> | ||
181 | <g | ||
182 | id="g9200"> | ||
183 | <rect | ||
184 | style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:#204a87;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||
185 | id="rect826" | ||
186 | width="42.763123" | ||
187 | height="12.027124" | ||
188 | x="72.166908" | ||
189 | y="124.61116" | ||
190 | rx="0.79353571" | ||
191 | ry="0.16691001" /> | ||
192 | <text | ||
193 | xml:space="preserve" | ||
194 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||
195 | x="74.501564" | ||
196 | y="131.77814" | ||
197 | id="text830"><tspan | ||
198 | sodipodi:role="line" | ||
199 | id="tspan828" | ||
200 | x="74.501564" | ||
201 | y="131.77814" | ||
202 | style="stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none">gnunet services</tspan></text> | ||
203 | </g> | ||
204 | <g | ||
205 | id="g9195" | ||
206 | transform="translate(0,6.9490077)"> | ||
207 | <rect | ||
208 | ry="0.16691001" | ||
209 | rx="0.79353571" | ||
210 | y="150.80357" | ||
211 | x="72.166908" | ||
212 | height="12.027124" | ||
213 | width="42.763123" | ||
214 | id="rect1559" | ||
215 | style="opacity:1;fill:#888a85;fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> | ||
216 | <text | ||
217 | id="text1563" | ||
218 | y="157.97055" | ||
219 | x="79.427376" | ||
220 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||
221 | xml:space="preserve"><tspan | ||
222 | style="stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" | ||
223 | y="157.97055" | ||
224 | x="79.427376" | ||
225 | id="tspan1561" | ||
226 | sodipodi:role="line">gnu network</tspan></text> | ||
227 | </g> | ||
228 | <g | ||
229 | id="g851" | ||
230 | transform="translate(0,3.7417734)"> | ||
231 | <rect | ||
232 | style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:#204a87;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||
233 | id="rect834" | ||
234 | width="42.763123" | ||
235 | height="12.027124" | ||
236 | x="73.766388" | ||
237 | y="56.724697" | ||
238 | rx="0.79353571" | ||
239 | ry="0.16691001" /> | ||
240 | <text | ||
241 | xml:space="preserve" | ||
242 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
243 | x="84.98526" | ||
244 | y="64.31646" | ||
245 | id="text838"><tspan | ||
246 | sodipodi:role="line" | ||
247 | id="tspan836" | ||
248 | x="84.98526" | ||
249 | y="64.31646" | ||
250 | style="stroke-width:0.26458332px">frontend</tspan></text> | ||
251 | </g> | ||
252 | <path | ||
253 | inkscape:connector-curvature="0" | ||
254 | id="path842" | ||
255 | d="M 89.535289,121.67119 V 108.04044" | ||
256 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#Arrow1Mend)" /> | ||
257 | <path | ||
258 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1145)" | ||
259 | d="m 98.889722,107.51821 v 13.63075" | ||
260 | id="path1141" | ||
261 | inkscape:connector-curvature="0" /> | ||
262 | <path | ||
263 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker1279)" | ||
264 | d="M 89.535289,121.67119 V 108.04044" | ||
265 | id="path1273" | ||
266 | inkscape:connector-curvature="0" /> | ||
267 | <path | ||
268 | inkscape:connector-curvature="0" | ||
269 | id="path1275" | ||
270 | d="m 98.889722,107.51821 v 13.63075" | ||
271 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker9204)" /> | ||
272 | <path | ||
273 | inkscape:connector-curvature="0" | ||
274 | id="path1305" | ||
275 | d="M 89.535289,90.667925 V 77.037175" | ||
276 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1311)" /> | ||
277 | <path | ||
278 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker9460)" | ||
279 | d="m 98.889722,76.514945 v 13.63075" | ||
280 | id="path1307" | ||
281 | inkscape:connector-curvature="0" /> | ||
282 | <path | ||
283 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker9258)" | ||
284 | d="M 89.535289,154.27807 V 140.64732" | ||
285 | id="path9248" | ||
286 | inkscape:connector-curvature="0" /> | ||
287 | <path | ||
288 | inkscape:connector-curvature="0" | ||
289 | id="path9250" | ||
290 | d="m 98.889722,140.12509 v 13.63075" | ||
291 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1145)" /> | ||
292 | <path | ||
293 | inkscape:connector-curvature="0" | ||
294 | id="path9252" | ||
295 | d="M 89.535289,154.27807 V 140.64732" | ||
296 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1279)" /> | ||
297 | <path | ||
298 | style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker9204)" | ||
299 | d="m 98.889722,140.12509 v 13.63075" | ||
300 | id="path9254" | ||
301 | inkscape:connector-curvature="0" /> | ||
302 | <text | ||
303 | xml:space="preserve" | ||
304 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
305 | x="119.73675" | ||
306 | y="132.0947" | ||
307 | id="text9442"><tspan | ||
308 | sodipodi:role="line" | ||
309 | id="tspan9440" | ||
310 | x="119.73675" | ||
311 | y="132.0947" | ||
312 | style="stroke-width:0.26458332px">async using gnunet scheduler</tspan></text> | ||
313 | <text | ||
314 | xml:space="preserve" | ||
315 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
316 | x="122.40945" | ||
317 | y="101.3587" | ||
318 | id="text9446"><tspan | ||
319 | sodipodi:role="line" | ||
320 | id="tspan9444" | ||
321 | x="122.40945" | ||
322 | y="101.3587" | ||
323 | style="stroke-width:0.26458332px">async using gnunet scheduler</tspan></text> | ||
324 | <text | ||
325 | id="text9450" | ||
326 | y="68.48455" | ||
327 | x="122.40945" | ||
328 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
329 | xml:space="preserve"><tspan | ||
330 | style="stroke-width:0.26458332px" | ||
331 | y="68.48455" | ||
332 | x="122.40945" | ||
333 | id="tspan9448" | ||
334 | sodipodi:role="line">async using fiber scheduler</tspan></text> | ||
335 | <text | ||
336 | xml:space="preserve" | ||
337 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
338 | x="103.43331" | ||
339 | y="116.59307" | ||
340 | id="text9520"><tspan | ||
341 | sodipodi:role="line" | ||
342 | id="tspan9518" | ||
343 | x="103.43331" | ||
344 | y="116.59307" | ||
345 | style="stroke-width:0.26458332px">ffi</tspan></text> | ||
346 | <text | ||
347 | xml:space="preserve" | ||
348 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
349 | x="103.70058" | ||
350 | y="148.93268" | ||
351 | id="text9524"><tspan | ||
352 | sodipodi:role="line" | ||
353 | id="tspan9522" | ||
354 | x="103.70058" | ||
355 | y="148.93268" | ||
356 | style="stroke-width:0.26458332px">sockets</tspan></text> | ||
357 | <text | ||
358 | id="text9528" | ||
359 | y="84.787994" | ||
360 | x="103.43331" | ||
361 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:125%;font-family:Hack;-inkscape-font-specification:Hack;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||
362 | xml:space="preserve"><tspan | ||
363 | style="stroke-width:0.26458332px" | ||
364 | y="84.787994" | ||
365 | x="103.43331" | ||
366 | id="tspan9526" | ||
367 | sodipodi:role="line">???</tspan></text> | ||
368 | </g> | ||
369 | </svg> | ||