104 lines
12 KiB
XML
104 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="244.88px" preserveAspectRatio="none" style="width:896px;height:244px;" version="1.1" viewBox="0 0 896 244" width="896.8403px" zoomAndPan="magnify"><defs/><g><rect fill="#F5F8FA" height="40.3361" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="75.8338" x="84.5231" y="63.5793"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="84.5231" x2="160.3569" y1="92.3297" y2="92.3297"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="58.9819" x="92.9491" y="76.2157">01 high Ready</text><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="42.1299" x="101.3751" y="84.798">priority 0</text><rect fill="#F5F8FA" height="40.3361" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="75.8338" x="429.1984" y="63.5793"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="429.1984" x2="505.0322" y1="92.3297" y2="92.3297"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="58.9819" x="437.6243" y="76.2157">02 high Ready</text><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="42.1299" x="446.0503" y="84.798">priority 3</text><rect fill="#F5F8FA" height="31.7538" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="84.2598" x="646.1673" y="67.8713"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="646.1673" x2="730.4272" y1="88.0393" y2="88.0393"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="67.4078" x="654.5933" y="80.5077">03 high Running</text><rect fill="#F5F8FA" height="31.7538" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="84.2598" x="806.261" y="67.8713"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="806.261" x2="890.5208" y1="88.0393" y2="88.0393"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="67.4078" x="814.687" y="80.5077">04 high Deleted</text><rect fill="#F5F8FA" height="40.3361" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="122.1767" x="61.3517" y="153.6319"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="61.3517" x2="183.5284" y1="182.3823" y2="182.3823"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="105.3248" x="69.7776" y="166.2683">05 peers Ready / Running</text><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="101.1118" x="71.8841" y="174.8507">priority 2 · time sliced</text><rect fill="#F5F8FA" height="31.7538" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="139.0287" x="397.6009" y="157.9239"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="397.6009" x2="536.6296" y1="178.092" y2="178.092"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="122.1767" x="406.0269" y="170.5603">06 peers Completed / Deleted</text><rect fill="#F5F8FA" height="40.3361" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="92.6858" x="76.0971" y="4.0708"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="76.0971" x2="168.7829" y1="32.8212" y2="32.8212"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="75.8338" x="84.5231" y="16.7072">07 verifier Ready</text><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="42.1299" x="101.3751" y="25.2895">priority 1</text><rect fill="#F5F8FA" height="40.3361" rx="6.5828" ry="6.5828" style="stroke: #607985; stroke-width: 0.7899356348741954;" width="101.1118" x="416.5594" y="4.0708"/><line style="stroke: #607985; stroke-width: 0.7899356348741954;" x1="416.5594" x2="517.6712" y1="32.8212" y2="32.8212"/><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="84.2598" x="424.9854" y="16.7072">08 verifier Running</text><text fill="#1F3039" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="16.852" x="458.6893" y="25.2895">PASS</text><path d="M3.1597,212.7876 L3.1597,239.0859 A0,0 0 0 0 3.1597,239.0859 L241.7203,239.0859 A0,0 0 0 0 241.7203,239.0859 L241.7203,218.0538 L236.4541,212.7876 L124.5465,212.7876 L122.44,194.1609 L120.3335,212.7876 L3.1597,212.7876 A0,0 0 0 0 3.1597,212.7876 " fill="#F7F5ED" style="stroke: #8A887C; stroke-width: 0.5266237565827969;"/><path d="M236.4541,212.7876 L236.4541,218.0538 L241.7203,218.0538 L236.4541,212.7876 " fill="#F7F5ED" style="stroke: #8A887C; stroke-width: 0.5266237565827969;"/><text fill="#3E4B50" font-family="DejaVu Sans Mono" font-size="6.3195" lengthAdjust="spacingAndGlyphs" textLength="103.2183" x="9.4792" y="224.4463">Ready does not mean Running.</text><text fill="#3E4B50" font-family="DejaVu Sans Mono" font-size="6.3195" lengthAdjust="spacingAndGlyphs" textLength="221.182" x="9.4792" y="231.8026">Priority selects first; time slicing acts only among equals.</text><!--MD5=[b20d261e98b660095822e6107648dd63]
|
|
link HighLow to HighReady--><path d="M160.5571,83.749 C225.5477,83.749 358.3885,83.749 425.6384,83.749 " fill="none" id="HighLow->HighReady" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="428.1925,83.749,423.4529,81.6425,425.5594,83.749,423.4529,85.8555,428.1925,83.749" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="92.6858" x="273.3177" y="78.4802">peerA vTaskPrioritySet</text><!--MD5=[a0e03b26375f375f695ce008b5232e4e]
|
|
link HighReady to HighRun--><path d="M505.2323,83.749 C543.2756,83.749 602.11,83.749 642.6442,83.749 " fill="none" id="HighReady->HighRun" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="645.2247,83.749,640.4851,81.6425,642.5916,83.749,640.4851,85.8555,645.2247,83.749" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="80.0468" x="551.3751" y="78.4802">preempts priority 2</text><!--MD5=[4a7480ccb6f1a239a747f35c72712070]
|
|
link HighRun to HighDeleted--><path d="M730.6115,83.749 C752.8034,83.749 780.0983,83.749 802.7695,83.749 " fill="none" id="HighRun->HighDeleted" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="805.2867,83.749,800.5471,81.6425,802.6536,83.749,800.5471,85.8555,805.2867,83.749" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="46.3429" x="745.1726" y="78.4802">self-delete</text><!--MD5=[14d60f217ea410e8c93039d5953250dd]
|
|
link Peers to Peers--><path d="M86.4558,153.4687 C81.7478,143.5102 93.7443,134.6735 122.44,134.6735 C147.9971,134.6735 160.3095,141.6829 159.3669,150.251 " fill="none" id="Peers->Peers" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="158.6507,152.7051,162.014,148.7568,159.3969,150.1799,157.9738,147.5628,158.6507,152.7051" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="113.7507" x="65.5647" y="126.7716">tick rotates equal priority</text><!--MD5=[75bfe70cffe5a5740daa2e8b24dbfe6c]
|
|
link Peers to PeersDone--><path d="M183.6074,173.8016 C242.3786,173.8016 331.5676,173.8016 394.0673,173.8016 " fill="none" id="Peers->PeersDone" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="396.6004,173.8016,391.8607,171.6951,393.9672,173.8016,391.8607,175.9081,396.6004,173.8016" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="101.1118" x="269.1047" y="168.5328">stop after peerA returns</text><!--MD5=[f12653334cd752a9b171e65996d29319]
|
|
link VerifyReady to VerifyRun--><path d="M168.9514,24.2405 C232.2569,24.2405 346.0129,24.2405 413.0626,24.2405 " fill="none" id="VerifyReady->VerifyRun" style="stroke: #607985; stroke-width: 0.684610883557636;"/><polygon fill="#607985" points="415.6167,24.2405,410.8771,22.134,412.9836,24.2405,410.8771,26.347,415.6167,24.2405" style="stroke: #607985; stroke-width: 0.684610883557636;"/><text fill="#425B67" font-family="DejaVu Sans Mono" font-size="7.3727" lengthAdjust="spacingAndGlyphs" textLength="126.3897" x="256.4658" y="18.9717">priorities 2/3 no longer Ready</text><!--MD5=[0b4ecb5945e44a712a729d861e4c6692]
|
|
@startuml
|
|
skinparam backgroundColor white
|
|
skinparam shadowing false
|
|
skinparam monochrome false
|
|
skinparam defaultFontName "DejaVu Sans Mono"
|
|
skinparam defaultFontSize 14
|
|
skinparam defaultFontColor #24343D
|
|
skinparam titleFontName "DejaVu Sans Mono"
|
|
skinparam titleFontSize 13
|
|
skinparam titleFontColor #536B78
|
|
skinparam titleFontStyle plain
|
|
|
|
skinparam ArrowColor #607985
|
|
skinparam ArrowFontColor #425B67
|
|
skinparam ArrowThickness 1.3
|
|
skinparam LineThickness 1.3
|
|
skinparam nodesep 36
|
|
skinparam ranksep 42
|
|
skinparam Padding 6
|
|
|
|
skinparam classBackgroundColor #F5F8FA
|
|
skinparam classBorderColor #607985
|
|
skinparam classBorderThickness 1.5
|
|
skinparam classFontColor #1F3039
|
|
skinparam classFontSize 15
|
|
skinparam classAttributeFontColor #2E424D
|
|
skinparam classAttributeFontSize 13
|
|
skinparam classStereotypeFontColor #526B77
|
|
skinparam classStereotypeFontSize 11
|
|
skinparam minClassWidth 190
|
|
skinparam ClassAttributeIconSize 0
|
|
|
|
skinparam stateBackgroundColor #F5F8FA
|
|
skinparam stateBorderColor #607985
|
|
skinparam stateBorderThickness 1.5
|
|
skinparam stateFontColor #1F3039
|
|
skinparam stateFontSize 14
|
|
skinparam stateAttributeFontSize 13
|
|
|
|
skinparam noteBackgroundColor #F7F5ED
|
|
skinparam noteBorderColor #8A887C
|
|
skinparam noteFontColor #3E4B50
|
|
skinparam noteFontSize 12
|
|
|
|
skinparam ParticipantBackgroundColor #F5F8FA
|
|
skinparam ParticipantBorderColor #607985
|
|
skinparam ParticipantBorderThickness 1.5
|
|
skinparam ParticipantFontColor #1F3039
|
|
skinparam ParticipantFontSize 13
|
|
skinparam ActorBorderColor #607985
|
|
skinparam ActorFontColor #1F3039
|
|
skinparam LifeLineBorderColor #8297A1
|
|
skinparam LifeLineBackgroundColor #F9FBFC
|
|
skinparam SequenceArrowColor #607985
|
|
skinparam SequenceMessageAlign center
|
|
skinparam ParticipantPadding 18
|
|
skinparam BoxPadding 8
|
|
|
|
hide circle
|
|
hide empty members
|
|
scale 900 width
|
|
left to right direction
|
|
|
|
state "01 high Ready\npriority 0" as HighLow
|
|
state "02 high Ready\npriority 3" as HighReady
|
|
state "03 high Running" as HighRun
|
|
state "04 high Deleted" as HighDeleted
|
|
|
|
state "05 peers Ready / Running\npriority 2 · time sliced" as Peers
|
|
state "06 peers Completed / Deleted" as PeersDone
|
|
|
|
state "07 verifier Ready\npriority 1" as VerifyReady
|
|
state "08 verifier Running\nPASS" as VerifyRun
|
|
|
|
HighLow - -> HighReady : peerA vTaskPrioritySet
|
|
HighReady - -> HighRun : preempts priority 2
|
|
HighRun - -> HighDeleted : self-delete
|
|
Peers - -> Peers : tick rotates equal priority
|
|
Peers - -> PeersDone : stop after peerA returns
|
|
VerifyReady - -> VerifyRun : priorities 2/3 no longer Ready
|
|
|
|
note bottom of Peers
|
|
Ready does not mean Running.
|
|
Priority selects first; time slicing acts only among equals.
|
|
end note
|
|
@enduml
|
|
|
|
PlantUML version 1.2020.02(Sun Mar 01 11:22:07 CET 2020)
|
|
(GPL source distribution)
|
|
Java Runtime: OpenJDK Runtime Environment
|
|
JVM: OpenJDK 64-Bit Server VM
|
|
Java Version: 25.0.4-ea+4-1-Debian
|
|
Operating System: Linux
|
|
Default Encoding: UTF-8
|
|
Language: en
|
|
Country: null
|
|
--></g></svg> |