urtware / doc / activitydiagrams / request / srtrequest / urtSrtRequestSubmit.svg @ 60da7a2f
History | View | Annotate | Download (40.334 KB)
1 |
<?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="1076px" preserveAspectRatio="none" style="width:5567px;height:1076px;" version="1.1" viewBox="0 0 5567 1076" width="5567px" zoomAndPan="magnify"><defs><filter height="300%" id="fqvgsx05mm0aq" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="18" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="89" x="2738" y="26.708">µRtWare</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="200" x="2682.5" y="47.6611">urtSrtRequestSubmit()</text><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacingAndGlyphs" textLength="0" x="2785.5" y="68.6143"/><path d="M2677.5,72.8594 L2677.5,229.0547 L2923.5,229.0547 L2923.5,82.8594 L2913.5,72.8594 L2677.5,72.8594 " fill="#FBFB77" filter="url(#fqvgsx05mm0aq)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M2913.5,72.8594 L2913.5,82.8594 L2923.5,82.8594 L2913.5,72.8594 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="2677.5" x2="2707" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="2711" y="89.4263"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="57" x="2711" y="89.4263">request</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="118" x="2772" y="89.4263">: urt_srtrequest_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="2894" x2="2923.5" y1="85.4258" y2="85.4258"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="225" x="2683.5" y="105.0591">The request to be used for this call.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="2683.5" y="120.1919">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="2763.5" y="120.1919">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="2795.5" y="120.1919">.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="210" x="2683.5" y="135.3247">Must have been acquired before.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="2677.5" x2="2720" y1="145.957" y2="145.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="2724" y="149.9575"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="52" x="2724" y="149.9575">service</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="97" x="2780" y="149.9575">: urt_service_t*</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="2881" x2="2923.5" y1="145.957" y2="145.957"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="154" x="2683.5" y="165.5903">The service to be called.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="76" x="2683.5" y="180.7231">Must not be</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="32" x="2763.5" y="180.7231">NULL</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="2795.5" y="180.7231">.</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="2677.5" x2="2923.5" y1="188.7891" y2="188.7891"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="2677.5" x2="2923.5" y1="190.7891" y2="190.7891"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="2677.5" x2="2729.5" y1="201.3555" y2="201.3555"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="0" x="2733.5" y="205.356"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45" x="2733.5" y="205.356">return</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="85" x="2782.5" y="205.356">: urt_status_t</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="2871.5" x2="2923.5" y1="201.3555" y2="201.3555"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="93" x="2683.5" y="220.9888">Always returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="2780.5" y="220.9888">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="2884.5" y="220.9888">.</text><ellipse cx="2800.5" cy="259.0547" fill="#000000" filter="url(#fqvgsx05mm0aq)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="93" x="2754" y="289.0547"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="73" x="2764" y="310.1934">lock service</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="5546" x="10" y="343.0234"/><rect fill="#FFFFFF" filter="url(#fqvgsx05mm0aq)" height="472.7383" style="stroke: #000000; stroke-width: 2.0;" width="5285" x="22" y="359.8252"/><path d="M153,360.8252 L153,369.1221 L143,379.1221 L22,379.1221 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="121" x="25" y="373.8203">enqueue request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="5265" x="32" y="396.1221"/><polygon fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" points="3247.5,422.1221,3431.5,422.1221,3443.5,434.1221,3431.5,446.1221,3247.5,446.1221,3235.5,434.1221,3247.5,422.1221" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="184" x="3247.5" y="437.9302">Service already holds requests?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="3215.5" y="431.5278">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="3443.5" y="431.5278">no</text><polygon fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" points="678.5,481.1221,928.5,481.1221,940.5,493.1221,928.5,505.1221,678.5,505.1221,666.5,493.1221,678.5,481.1221" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="807.5" y="515.3325">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="250" x="678.5" y="496.9302">Service already holds FRT or SRT requests?</text><rect fill="#FFFFFF" filter="url(#fqvgsx05mm0aq)" height="206.6367" style="stroke: #000000; stroke-width: 2.0;" width="1493" x="56" y="537.9268"/><path d="M267,538.9268 L267,547.2236 L257,557.2236 L56,557.2236 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="201" x="59" y="551.9219">append to FRT/SRT requests</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="249" x="679" y="574.2236"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="229" x="689" y="595.3623">access last queued FRT/SRT request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1473" x="66" y="643.1924"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="387" x="80" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="90" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="114" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="158" x="146" y="690.3311">pointer of this request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="308" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="117" x="340" y="690.3311">of queued request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="355" x="477" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="487" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="511" y="690.3311">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="279" x="543" y="690.3311">pointer of this request to of queued request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="339" x="860" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="870" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="894" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="263" x="926" y="690.3311">pointer of queued request to this request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="318" x="1209" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1219" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1243" y="690.3311">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="242" x="1275" y="690.3311">pointer of next request to this request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1473" x="66" y="723.1611"/><polygon fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" points="2201.5,481.1221,2411.5,481.1221,2423.5,493.1221,2411.5,505.1221,2201.5,505.1221,2189.5,493.1221,2201.5,481.1221" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="2310.5" y="515.3325">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="210" x="2201.5" y="496.9302">Service already holds HRT requests?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="2423.5" y="490.5278">no</text><rect fill="#FFFFFF" filter="url(#fqvgsx05mm0aq)" height="206.6367" style="stroke: #000000; stroke-width: 2.0;" width="1511" x="1559" y="537.9268"/><path d="M1786,538.9268 L1786,547.2236 L1776,557.2236 L1559,557.2236 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="217" x="1562" y="551.9219">enqueue after last HRT request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="224" x="2194.5" y="574.2236"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="204" x="2204.5" y="595.3623">access last queued HRT request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1491" x="1569" y="643.1924"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="387" x="1583" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1593" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1617" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="158" x="1649" y="690.3311">pointer of this request to</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="1811" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="117" x="1843" y="690.3311">of queued request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="355" x="1980" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="1990" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="2014" y="690.3311">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="279" x="2046" y="690.3311">pointer of this request to of queued request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="339" x="2363" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="2373" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="2397" y="690.3311">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="263" x="2429" y="690.3311">pointer of queued request to this request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="318" x="2730" y="669.1924"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="2740" y="690.3311">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="2764" y="690.3311">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="242" x="2796" y="690.3311">pointer of next request to this request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1491" x="1569" y="723.1611"/><rect fill="#FFFFFF" filter="url(#fqvgsx05mm0aq)" height="206.6367" style="stroke: #000000; stroke-width: 2.0;" width="1099.5" x="3080" y="534.5244"/><path d="M3316,535.5244 L3316,543.8213 L3306,553.8213 L3080,553.8213 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="226" x="3083" y="548.5195">enqueue in fron of NRT requests</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="197" x="3539.5" y="570.8213"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="177" x="3549.5" y="591.96">access first queued request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1079.5" x="3090" y="639.79"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="339" x="3104" y="665.79"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="3114" y="686.9287">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="3138" y="686.9287">next</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="263" x="3170" y="686.9287">pointer of this request to queued request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="339" x="3467.5" y="665.79"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="20" x="3477.5" y="686.9287">set</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="28" x="3501.5" y="686.9287">prev</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="263" x="3533.5" y="686.9287">pointer of queued request to this request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="341" x="3816.5" y="665.79"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="45" x="3826.5" y="686.9287">set the</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="3875.5" y="686.9287">requestQueue_front</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="4005.5" y="686.9287">pointer to this request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="1079.5" x="3090" y="719.7588"/><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="723.5" x="4189.5" y="456.1221"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="341" x="4201.5" y="482.1221"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="45" x="4211.5" y="503.2607">set the</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="126" x="4260.5" y="503.2607">requestQueue_front</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="4390.5" y="503.2607">pointer to this request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="334" x="4567" y="482.1221"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="45" x="4577" y="503.2607">set the</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="4626" y="503.2607">requestQueue_back</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="4749" y="503.2607">pointer to this request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="723.5" x="4189.5" y="536.0908"/><polygon fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" points="3339.5,770.5635,3351.5,782.5635,3339.5,794.5635,3327.5,782.5635,3339.5,770.5635" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="362" x="4923" y="621.1572"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="45" x="4933" y="642.2959">set the</text><text fill="#000000" font-family="monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="147" x="4982" y="642.2959">requestQueue_fsrtBack</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="5133" y="642.2959">pointer to this request</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="5265" x="32" y="814.5635"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="227" x="5317" y="613.0088"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="207" x="5327" y="634.1475">set the service as request owner</text><rect fill="#000000" filter="url(#fqvgsx05mm0aq)" height="6" rx="2.5" ry="2.5" style="stroke: #000000; stroke-width: 1.0;" width="5546" x="10" y="852.5635"/><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="114" x="2743.5" y="878.5635"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="94" x="2753.5" y="899.7021">unlock request</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="150" x="2725.5" y="932.5322"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="130" x="2735.5" y="953.6709">fire event (@service)</text><rect fill="#FEFECE" filter="url(#fqvgsx05mm0aq)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="109" x="2746" y="986.501"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="89" x="2756" y="1007.6396">unlock service</text><path d="M2587.5,1038.9033 L2587.5,1064.0361 A0,0 0 0 0 2587.5,1064.0361 L2769.5,1064.0361 A0,0 0 0 0 2769.5,1064.0361 L2769.5,1056.9033 L2789.5,1051.4697 L2769.5,1048.9033 L2769.5,1048.9033 L2759.5,1038.9033 L2587.5,1038.9033 A0,0 0 0 0 2587.5,1038.9033 " fill="#FBFB77" filter="url(#fqvgsx05mm0aq)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M2759.5,1038.9033 L2759.5,1048.9033 L2769.5,1048.9033 L2759.5,1038.9033 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="2593.5" y="1055.9702">Returns</text><text fill="#000000" font-family="monospace" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="104" x="2646.5" y="1055.9702">URT_STATUS_OK</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="4" x="2750.5" y="1055.9702">.</text><ellipse cx="2800.5" cy="1051.4697" fill="#FFFFFF" filter="url(#fqvgsx05mm0aq)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="2800.5" cy="1051.4697" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="229.0547" y2="249.0547"/><polygon fill="#A80036" points="2796.5,239.0547,2800.5,249.0547,2804.5,239.0547,2800.5,243.0547" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="269.0547" y2="289.0547"/><polygon fill="#A80036" points="2796.5,279.0547,2800.5,289.0547,2804.5,279.0547,2800.5,283.0547" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="273.5" x2="273.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="269.5,659.1924,273.5,669.1924,277.5,659.1924,273.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="654.5" x2="654.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="650.5,659.1924,654.5,669.1924,658.5,659.1924,654.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1029.5" x2="1029.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="1025.5,659.1924,1029.5,669.1924,1033.5,659.1924,1029.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1368" x2="1368" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="1364,659.1924,1368,669.1924,1372,659.1924,1368,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="273.5" x2="273.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="269.5,713.1611,273.5,723.1611,277.5,713.1611,273.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="654.5" x2="654.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="650.5,713.1611,654.5,723.1611,658.5,713.1611,654.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1029.5" x2="1029.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="1025.5,713.1611,1029.5,723.1611,1033.5,713.1611,1029.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1368" x2="1368" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="1364,713.1611,1368,723.1611,1372,713.1611,1368,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="803.5" x2="803.5" y1="608.1924" y2="643.1924"/><polygon fill="#A80036" points="799.5,633.1924,803.5,643.1924,807.5,633.1924,803.5,637.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1776.5" x2="1776.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="1772.5,659.1924,1776.5,669.1924,1780.5,659.1924,1776.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2157.5" x2="2157.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="2153.5,659.1924,2157.5,669.1924,2161.5,659.1924,2157.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2532.5" x2="2532.5" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="2528.5,659.1924,2532.5,669.1924,2536.5,659.1924,2532.5,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2889" x2="2889" y1="649.1924" y2="669.1924"/><polygon fill="#A80036" points="2885,659.1924,2889,669.1924,2893,659.1924,2889,663.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="1776.5" x2="1776.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="1772.5,713.1611,1776.5,723.1611,1780.5,713.1611,1776.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2157.5" x2="2157.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="2153.5,713.1611,2157.5,723.1611,2161.5,713.1611,2157.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2532.5" x2="2532.5" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="2528.5,713.1611,2532.5,723.1611,2536.5,713.1611,2532.5,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2889" x2="2889" y1="703.1611" y2="723.1611"/><polygon fill="#A80036" points="2885,713.1611,2889,723.1611,2893,713.1611,2889,717.1611" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2306.5" x2="2306.5" y1="608.1924" y2="643.1924"/><polygon fill="#A80036" points="2302.5,633.1924,2306.5,643.1924,2310.5,633.1924,2306.5,637.1924" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3273.5" x2="3273.5" y1="645.79" y2="665.79"/><polygon fill="#A80036" points="3269.5,655.79,3273.5,665.79,3277.5,655.79,3273.5,659.79" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3637" x2="3637" y1="645.79" y2="665.79"/><polygon fill="#A80036" points="3633,655.79,3637,665.79,3641,655.79,3637,659.79" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3987" x2="3987" y1="645.79" y2="665.79"/><polygon fill="#A80036" points="3983,655.79,3987,665.79,3991,655.79,3987,659.79" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3273.5" x2="3273.5" y1="699.7588" y2="719.7588"/><polygon fill="#A80036" points="3269.5,709.7588,3273.5,719.7588,3277.5,709.7588,3273.5,713.7588" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3637" x2="3637" y1="699.7588" y2="719.7588"/><polygon fill="#A80036" points="3633,709.7588,3637,719.7588,3641,709.7588,3637,713.7588" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3987" x2="3987" y1="699.7588" y2="719.7588"/><polygon fill="#A80036" points="3983,709.7588,3987,719.7588,3991,709.7588,3987,713.7588" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3638" x2="3638" y1="604.79" y2="639.79"/><polygon fill="#A80036" points="3634,629.79,3638,639.79,3642,629.79,3638,633.79" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="803.5" x2="803.5" y1="505.1221" y2="574.2236"/><polygon fill="#A80036" points="799.5,564.2236,803.5,574.2236,807.5,564.2236,803.5,568.2236" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="803.5" x2="803.5" y1="729.1611" y2="764.5635"/><polygon fill="#A80036" points="799.5,754.5635,803.5,764.5635,807.5,754.5635,803.5,758.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2306.5" x2="2306.5" y1="505.1221" y2="574.2236"/><polygon fill="#A80036" points="2302.5,564.2236,2306.5,574.2236,2310.5,564.2236,2306.5,568.2236" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2306.5" x2="2306.5" y1="729.1611" y2="764.5635"/><polygon fill="#A80036" points="2302.5,754.5635,2306.5,764.5635,2310.5,754.5635,2306.5,758.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="940.5" x2="2189.5" y1="493.1221" y2="493.1221"/><polygon fill="#A80036" points="2179.5,489.1221,2189.5,493.1221,2179.5,497.1221,2183.5,493.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3235.5" x2="803.5" y1="434.1221" y2="434.1221"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="803.5" x2="803.5" y1="434.1221" y2="481.1221"/><polygon fill="#A80036" points="799.5,471.1221,803.5,481.1221,807.5,471.1221,803.5,475.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2423.5" x2="3638" y1="493.1221" y2="493.1221"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3638" x2="3638" y1="493.1221" y2="570.8213"/><polygon fill="#A80036" points="3634,560.8213,3638,570.8213,3642,560.8213,3638,564.8213" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3638" x2="3638" y1="725.7588" y2="764.5635"/><polygon fill="#A80036" points="3634,754.5635,3638,764.5635,3642,754.5635,3638,758.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="803.5" x2="3638" y1="764.5635" y2="764.5635"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4372" x2="4372" y1="462.1221" y2="482.1221"/><polygon fill="#A80036" points="4368,472.1221,4372,482.1221,4376,472.1221,4372,476.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4734" x2="4734" y1="462.1221" y2="482.1221"/><polygon fill="#A80036" points="4730,472.1221,4734,482.1221,4738,472.1221,4734,476.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4372" x2="4372" y1="516.0908" y2="536.0908"/><polygon fill="#A80036" points="4368,526.0908,4372,536.0908,4376,526.0908,4372,530.0908" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4734" x2="4734" y1="516.0908" y2="536.0908"/><polygon fill="#A80036" points="4730,526.0908,4734,536.0908,4738,526.0908,4734,530.0908" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3443.5" x2="4553" y1="434.1221" y2="434.1221"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4553" x2="4553" y1="434.1221" y2="456.1221"/><polygon fill="#A80036" points="4549,446.1221,4553,456.1221,4557,446.1221,4553,450.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2102.5" x2="2102.5" y1="764.5635" y2="782.5635"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2102.5" x2="3327.5" y1="782.5635" y2="782.5635"/><polygon fill="#A80036" points="3317.5,778.5635,3327.5,782.5635,3317.5,786.5635,3321.5,782.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4553" x2="4553" y1="542.0908" y2="782.5635"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="4553" x2="3351.5" y1="782.5635" y2="782.5635"/><polygon fill="#A80036" points="3361.5,778.5635,3351.5,782.5635,3361.5,786.5635,3357.5,782.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3339.5" x2="3339.5" y1="402.1221" y2="422.1221"/><polygon fill="#A80036" points="3335.5,412.1221,3339.5,422.1221,3343.5,412.1221,3339.5,416.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="5104" x2="5104" y1="402.1221" y2="621.1572"/><polygon fill="#A80036" points="5100,611.1572,5104,621.1572,5108,611.1572,5104,615.1572" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="3339.5" x2="3339.5" y1="794.5635" y2="814.5635"/><polygon fill="#A80036" points="3335.5,804.5635,3339.5,814.5635,3343.5,804.5635,3339.5,808.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="5104" x2="5104" y1="655.126" y2="814.5635"/><polygon fill="#A80036" points="5100,804.5635,5104,814.5635,5108,804.5635,5104,808.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2673" x2="2673" y1="349.0234" y2="396.1221"/><polygon fill="#A80036" points="2669,386.1221,2673,396.1221,2677,386.1221,2673,390.1221" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="5430.5" x2="5430.5" y1="349.0234" y2="613.0088"/><polygon fill="#A80036" points="5426.5,603.0088,5430.5,613.0088,5434.5,603.0088,5430.5,607.0088" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2673" x2="2673" y1="820.5635" y2="852.5635"/><polygon fill="#A80036" points="2669,842.5635,2673,852.5635,2677,842.5635,2673,846.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="5430.5" x2="5430.5" y1="646.9775" y2="852.5635"/><polygon fill="#A80036" points="5426.5,842.5635,5430.5,852.5635,5434.5,842.5635,5430.5,846.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="323.0234" y2="343.0234"/><polygon fill="#A80036" points="2796.5,333.0234,2800.5,343.0234,2804.5,333.0234,2800.5,337.0234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="858.5635" y2="878.5635"/><polygon fill="#A80036" points="2796.5,868.5635,2800.5,878.5635,2804.5,868.5635,2800.5,872.5635" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="912.5322" y2="932.5322"/><polygon fill="#A80036" points="2796.5,922.5322,2800.5,932.5322,2804.5,922.5322,2800.5,926.5322" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="966.501" y2="986.501"/><polygon fill="#A80036" points="2796.5,976.501,2800.5,986.501,2804.5,976.501,2800.5,980.501" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="2800.5" x2="2800.5" y1="1020.4697" y2="1040.4697"/><polygon fill="#A80036" points="2796.5,1030.4697,2800.5,1040.4697,2804.5,1030.4697,2800.5,1034.4697" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[b4213acd6c25ae54dd04c6885fc0b8d4] |
---|---|
2 |
@startuml |
3 |
|
4 |
title **µRtWare**\nurtSrtRequestSubmit()\n |
5 |
|
6 |
|
7 |
note |
8 |
- - **request** : urt_srtrequest_t* - - |
9 |
The request to be used for this call. |
10 |
Must not be ""NULL"". |
11 |
Must have been acquired before. |
12 |
- - **service** : urt_service_t* - - |
13 |
The service to be called. |
14 |
Must not be ""NULL"". |
15 |
==== |
16 |
- - **return** : urt_status_t - - |
17 |
Always returns ""URT_STATUS_OK"". |
18 |
endnote |
19 |
|
20 |
|
21 |
start |
22 |
:lock service; |
23 |
fork |
24 |
partition "enqueue request" { |
25 |
fork |
26 |
if (Service already holds requests?) then (yes) |
27 |
if (Service already holds FRT or SRT requests?) then (yes) |
28 |
partition "append to FRT/SRT requests" { |
29 |
:access last queued FRT/SRT request; |
30 |
fork |
31 |
:set ""next"" pointer of this request to ""next"" of queued request; |
32 |
fork again |
33 |
:set ""prev"" pointer of this request to of queued request; |
34 |
fork again |
35 |
:set ""next"" pointer of queued request to this request; |
36 |
fork again |
37 |
:set ""prev"" pointer of next request to this request; |
38 |
endfork |
39 |
} |
40 |
elseif (Service already holds HRT requests?) then (yes) |
41 |
partition "enqueue after last HRT request" { |
42 |
:access last queued HRT request; |
43 |
fork |
44 |
:set ""next"" pointer of this request to ""next"" of queued request; |
45 |
fork again |
46 |
:set ""prev"" pointer of this request to of queued request; |
47 |
fork again |
48 |
:set ""next"" pointer of queued request to this request; |
49 |
fork again |
50 |
:set ""prev"" pointer of next request to this request; |
51 |
endfork |
52 |
} |
53 |
else (no) |
54 |
partition "enqueue in fron of NRT requests" { |
55 |
:access first queued request; |
56 |
fork |
57 |
:set ""next"" pointer of this request to queued request; |
58 |
fork again |
59 |
:set ""prev"" pointer of queued request to this request; |
60 |
fork again |
61 |
:set the ""requestQueue_front"" pointer to this request; |
62 |
endfork |
63 |
} |
64 |
endif |
65 |
else (no) |
66 |
fork |
67 |
:set the ""requestQueue_front"" pointer to this request; |
68 |
fork again |
69 |
:set the ""requestQueue_back"" pointer to this request; |
70 |
endfork |
71 |
endif |
72 |
fork again |
73 |
:set the ""requestQueue_fsrtBack"" pointer to this request; |
74 |
endfork |
75 |
} |
76 |
fork again |
77 |
:set the service as request owner; |
78 |
endfork |
79 |
:unlock request; |
80 |
:fire event (@service); |
81 |
:unlock service; |
82 |
stop |
83 |
note |
84 |
Returns ""URT_STATUS_OK"". |
85 |
endnote |
86 |
|
87 |
|
88 |
@enduml |
89 |
|
90 |
PlantUML version 1.2020.00(Sat Jan 11 13:30:53 CET 2020) |
91 |
(GPL source distribution) |
92 |
Java Runtime: OpenJDK Runtime Environment |
93 |
JVM: OpenJDK 64-Bit Server VM |
94 |
Java Version: 11.0.7+10-post-Ubuntu-2ubuntu218.04 |
95 |
Operating System: Linux |
96 |
Default Encoding: UTF-8 |
97 |
Language: en |
98 |
Country: US |
99 |
--></g></svg> |