libvirt/docs/images/event_loop_simple.svg

399 lines
13 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="298px"
height="403px"
version="1.1"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="event_loop_simple.svg"
inkscape:export-filename="/home/zippy/work/libvirt/libvirt-media.git/png/event_loop_simple.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<metadata
id="metadata82">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1848"
inkscape:window-height="1025"
id="namedview80"
showgrid="true"
inkscape:zoom="2.3424318"
inkscape:cx="9.8349471"
inkscape:cy="253.32445"
inkscape:window-x="69"
inkscape:window-y="-3"
inkscape:window-maximized="1"
inkscape:current-layer="g6">
<inkscape:grid
type="xygrid"
id="grid4218" />
</sodipodi:namedview>
<defs
id="defs4" />
<g
transform="translate(0.5,0.5)"
id="g6">
<path
d="M 148 81 L 188 121 L 148 161 L 108 121 Z"
fill="#ffffff"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path8" />
<g
transform="translate(134.5,114.5)"
id="g10">
<switch
id="switch12">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="27"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 28px; white-space: nowrap; word-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">quit?</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="14"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text14">quit?</text>
</switch>
</g>
<rect
x="48"
y="201"
width="200"
height="40"
rx="6"
ry="6"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect16" />
<g
transform="translate(58.5,214.5)"
id="g18">
<switch
id="switch20">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="178"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 179px; white-space: nowrap; word-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">message := get_next_message()<xhtml:br />
</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="89"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text22"
style="-inkscape-font-specification:'Helvetica, Normal';font-family:Helvetica;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;font-size:12.00000048px;text-anchor:middle;text-align:center;writing-mode:lr;line-height:125%;"
sodipodi:linespacing="125%">
<tspan
sodipodi:role="line"
id="tspan4216">message := get_next_message()</tspan>
</text>
</switch>
</g>
<rect
x="48"
y="281"
width="200"
height="40"
rx="6"
ry="6"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect24" />
<g
transform="translate(68.5,294.5)"
id="g26">
<switch
id="switch28">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="158"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 159px; white-space: nowrap; word-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">process_message(message)</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="79"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text30">process_message(message)</text>
</switch>
</g>
<path
d="M 148 241 L 148 274.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path32" />
<path
d="M 148 279.88 L 144.5 272.88 L 148 274.63 L 151.5 272.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path34" />
<path
d="M 148 41 L 148 74.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path36" />
<path
d="M 148 79.88 L 144.5 72.88 L 148 74.63 L 151.5 72.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path38" />
<rect
x="88"
y="1"
width="120"
height="40"
rx="6"
ry="6"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect40" />
<g
transform="translate(116.5,14.5)"
id="g42">
<switch
id="switch44">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="62"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 63px; white-space: nowrap; word-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">quit := false<xhtml:br />
</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="31"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text46"
style="-inkscape-font-specification:'Helvetica, Normal';font-family:Helvetica;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;font-size:12.00000048px;text-anchor:middle;text-align:center;writing-mode:lr;line-height:125%;"
sodipodi:linespacing="125%">
<tspan
sodipodi:role="line"
id="tspan4212">quit := false</tspan>
</text>
</switch>
</g>
<path
d="M 148 161 L 148 194.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path48" />
<path
d="M 148 199.88 L 144.5 192.88 L 148 194.63 L 151.5 192.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path50" />
<g
transform="translate(153.25424,169.95021)"
id="g52">
<switch
id="switch54">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="30"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;">False<xhtml:br />
</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="15"
y="12"
font-size="12px"
id="text56"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12.00000095px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:'Helvetica, Normal';text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#000000"
sodipodi:linespacing="125%">
<tspan
sodipodi:role="line"
id="tspan4214"
x="15"
y="12">False</tspan>
</text>
</switch>
</g>
<path
d="M 48 301 L 18 301 Q 8 301 8 291 L 8 131 Q 8 121 18 121 L 101.63 121"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path58" />
<path
d="M 106.88 121 L 99.88 124.5 L 101.63 121 L 99.88 117.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path60" />
<path
d="M 188 121 L 278 121 Q 288 121 288 131 L 288 331 Q 288 341 278 341 L 228 341 Q 218 341 208 341 L 158 341 Q 148 341 148 347.82 L 148 354.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path62" />
<path
d="M 148 359.88 L 144.5 352.88 L 148 354.63 L 151.5 352.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path64" />
<g
transform="translate(200.62288,99.769068)"
id="g66">
<switch
id="switch68">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="25"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;background-color:#ffffff;">True<xhtml:br />
</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="13"
y="12"
font-size="12px"
id="text70"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12.00000095px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:'Helvetica, Normal';text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#000000"
sodipodi:linespacing="125%">
<tspan
sodipodi:role="line"
id="tspan4210"
x="13"
y="12">True</tspan>
</text>
</switch>
</g>
<rect
x="88"
y="361"
width="120"
height="40"
rx="6"
ry="6"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect72" />
<g
transform="translate(134.5,374.5)"
id="g74">
<switch
id="switch76">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="27"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 28px; white-space: nowrap; word-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">exit()</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="14"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text78">exit()</text>
</switch>
</g>
</g>
</svg>