From: Jeff H. <Je...@Je...> - 2023-03-19 16:59:29
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>I have pushed a new NetRexx Pipeline stage and tests: DELAY. It is an upwardly compatible version with CMS.</p> <blockquote> <p>DELAY -- Suspend Stream</p> <font face="monospace">▶▶--DELAY--+-------------------------------------------------------------+---▶◄ </font><br> <div class="p-ddiv"> <div class="p-diag box"><font face="monospace"> | +--<span class="njponly">+</span>--+ +--<span class="njponly">EACH</span>-(2)-+ | (1) <br> </font><font face="monospace"> +--+-----+--+--<span class="njponly"><span class="var">numberHr</span>:<span class="var">numberMin</span>:<span class="var">numberSec</span></span>-+--+-----------+--+ (1) <br> </font><font face="monospace"> +--<span class="njponly"><span class="var">numberMin</span>:<span class="var">numberSec</span></span>----------+ +--<span class="njponly">ONCE</span>-(2)-+ (1) <br> </font><font face="monospace"> +--<span class="njponly"><span class="var">numberSec</span></span>--------------------+ (1) </font></div> </div> <ul> <li>(1) Arguments are NetRexx Pipelines only, not CMS. CMS (and NetRexx when there is no argument) reads delays as the first word of each record. <br> When arguments are present, they follow the CMS conventions for the delay time in records. The + indicates a duration, no + means time of day. The objects do NOT have the delay as the first word. <br> Clock hours are 24h, so 2pm is 14, and are for the next 24 hours if before "now." <br> Seconds can have decimal point and milliseconds. <br> In relative times, the number of seconds and minutes are not limited to 60; so 120 seconds is the same as 2 minutes.</li> <li>(2) Used only for "relative time." EACH, the default, delays before each object; ONCE delays only the first object.</li> <li>Uses Java's Thread.sleep() method and may not be exact in fractional seconds.</li> </ul> </blockquote> <div> <div class="p-note">When in the records, the time must be a single word. As arguments, it is tolerant of spaces.</div> <div class="p-note"><br> </div> <div class="p-note">The submitted tests include only "relative times" not clock times, and do not test for the actual time of delay.<br> </div> </div> <p>This will be used in some stage tests, where NetRexx's multi-streaming can cause race conditions.</p> <p>Jeff Hennick<br> </p> </body> </html> |