Skip to content

Commit

Permalink
coroutines diagrams updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Sep 10, 2024
1 parent 6ea4355 commit f386ccb
Show file tree
Hide file tree
Showing 3 changed files with 335 additions and 34 deletions.
154 changes: 153 additions & 1 deletion docs/vtandcoroutines.drawio
Original file line number Diff line number Diff line change
@@ -1 +1,153 @@
<mxfile host="Electron" modified="2022-06-25T09:27:38.770Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/19.0.3 Chrome/102.0.5005.63 Electron/19.0.3 Safari/537.36" etag="rL8pjPPx1wP8pvI2cQcd" version="19.0.3" type="device"><diagram id="gcXxg-jRAJFsOrIHN8xj" name="Page-1">7ZxRf6I4EMA/jY/1FxJAeay17t5t97a/3W77HCEiWwQXYmvv018CQSFJK1sBvWpfCpMQYP4zk8mEtoeuFutPCV7Ov8YeCXsQeOseGvcgNByE2C8uecklQ37GBX4SeKLTVvAj+JcIIRDSVeCRtNKRxnFIg2VV6MZRRFxakeEkiZ+r3WZxWL3rEvtEEfxwcahKHwKPzou3GGzln0ngz4s7G7aTtyxw0Vm8STrHXvxcEqHrHrpK4pjmR4v1FQm58gq95NdNXmndPFhCIlrnAvhzNv78/av56341nTiXlzD9Yl8gOx/mCYcr8cbiaelLoYIkXkUe4aMYPTR6ngeU/Fhil7c+M+hMNqeLUDTP4ogKimjIz4MwvIrDOMnGQpPJ2LFtJvcT7AXsyYu2KI5ISTwOEkYziCN+E5KyFxxt9Af4ySOh7lzcM6VJ/LjBwyVLkgQLQknCHzSIfCH2Q5ymYgRVfUKjTyShZF0SCXV+IjEbMnlhXUTrBbTyS4RtowHsC8nz1lYcJAxgXrITR/TDwjz9zeBbguxAQPwToIPdQJkml/xwFpL1JfcRpg4SeeJw7HItBW6V69YIQJWyYb6lTOJV3EtVZUlRlkZPhSwhIabBU9UpdcoTd7iNA/YkW1JG4YUClQnNvoQgjVeJS8SFZT+Sx0I7h6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EM4RdkXzy3wMZAmW+yUT40/AylNdmLJWVFYiQWX32LKAl6USXhJUp7RoFL60M5ftbTazZQmQ7PMd05pCn2jtSlNy1rdBX46w5YYyVsw74YtD9Q1bHVz+S+eb0DA4hoEDzigPOeU8R9lhauBwFsj7jpdhl11l/nsirIHyYv4d7uiPFDXrqjZy+40MWWZJ3TdfXIgz57aVkM5kBIYNb4IG6rNsNPtf7TIcW7/Lwi6/g8=</diagram></mxfile>
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8">
<diagram id="gcXxg-jRAJFsOrIHN8xj" name="Page-1">
<mxGraphModel dx="1941" dy="739" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="2UfDHRM4jVubF9AA2sK6-36" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=38;fillColor=#FFD966;gradientColor=none;gradientDirection=west;shadow=0;sketch=1;strokeWidth=1;perimeterSpacing=1;glass=0;" parent="1" vertex="1">
<mxGeometry x="-25" y="372.5" width="930" height="95" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-37" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-120" y="424.5" as="sourcePoint" />
<mxPoint x="-30" y="424.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-38" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="920" y="424.5" as="sourcePoint" />
<mxPoint x="1010" y="424.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-33" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=38;fillColor=#FFD966;gradientColor=none;gradientDirection=west;shadow=0;sketch=1;strokeWidth=1;perimeterSpacing=1;glass=0;" parent="1" vertex="1">
<mxGeometry x="-25" y="252.5" width="930" height="95" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-34" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-120" y="304.5" as="sourcePoint" />
<mxPoint x="-30" y="304.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-35" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="920" y="304.5" as="sourcePoint" />
<mxPoint x="1010" y="304.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-29" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=38;fillColor=#FFD966;gradientColor=none;gradientDirection=west;shadow=0;sketch=1;strokeWidth=1;perimeterSpacing=1;glass=0;" parent="1" vertex="1">
<mxGeometry x="-25" y="157.5" width="930" height="95" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-1" value="&lt;span style=&quot;font-size: 14px;&quot;&gt;Thread 1&lt;/span&gt;" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;size=10;align=left;spacingLeft=9;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry y="180" width="880" height="50" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-3" value="&lt;span style=&quot;font-size: 14px;&quot;&gt;Thread 2&lt;/span&gt;" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;size=10;align=left;spacingLeft=9;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry y="276" width="880" height="50" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-4" value="Thread N" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;size=10;align=left;spacingLeft=9;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry y="394" width="880" height="50" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-6" value="..." style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=23;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="465" y="341" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-7" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#009900;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="90" y="200" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-9" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#009900;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="350" y="414" width="100" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-10" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#009900;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="450" y="296" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-11" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#009900;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="570" y="200" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-12" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#009900;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="690" y="296" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-15" value="Virtual Thread2" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="210" y="200" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-16" value="Virtual Thread2" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="90" y="296" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-17" value="VT2" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFB570;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="390" y="296" width="60" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-18" value="VT3" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#0000FF;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="350" y="296" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-20" value="VT3" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#0000FF;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="390" y="200" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-21" value="Virtual Thread 3" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#0000FF;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="90" y="414" width="260" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-22" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-120" y="209.5" as="sourcePoint" />
<mxPoint x="-30" y="209.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-23" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;fontSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="920" y="209.5" as="sourcePoint" />
<mxPoint x="1010" y="209.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-31" value="Virtual Thread4" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FF0080;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="450" y="414" width="240" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-32" value="Virtual Thread4" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FF0080;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="690" y="200" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-39" value="Virtual Thread5" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFFF00;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="570" y="296" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-40" value="Virtual Thread5" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFFF00;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="690" y="414" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-43" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=1;fontSize=38;targetPerimeterSpacing=0;strokeWidth=1;sketch=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-25" y="520" as="sourcePoint" />
<mxPoint x="905" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2UfDHRM4jVubF9AA2sK6-44" value="Time" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=24;" parent="2UfDHRM4jVubF9AA2sK6-43" vertex="1" connectable="0">
<mxGeometry x="0.0839" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-2" value="Virtual Thread5" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#FFFF00;gradientColor=#ffffff;gradientDirection=west;" parent="1" vertex="1">
<mxGeometry x="210" y="296" width="140" height="20" as="geometry" />
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-3" value="Virtual Thread1" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;gradientDirection=west;dashed=1;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="210" y="130" width="140" height="20" as="geometry" />
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-4" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="210" y="540" as="sourcePoint" />
<mxPoint x="210" y="110" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-5" value="v" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="350" y="540" as="sourcePoint" />
<mxPoint x="350" y="110" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-6" value="Idle or Waiting" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="10" y="130" width="90" height="20" as="geometry" />
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-7" value="v" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="570" y="540" as="sourcePoint" />
<mxPoint x="570" y="110" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="mcfq0EbKfonbPjyJRW4k-8" value="Virtual Thread5" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#fff2cc;gradientDirection=west;dashed=1;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="350" y="130" width="220" height="20" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit f386ccb

Please sign in to comment.