[Gllug] Delayed data feed

t.clarke tim at seacon.co.uk
Wed Jan 12 22:47:54 UTC 2011


I guess that ideally the primary process should time-stamp each of its output
lines (or blocks?) and pipe them to another process which simply reads each
block in turn and delays it for N seconds (where N = time-stamp + 30 - current-
time) before sending it off the wherever?   Not sure what happens when the
pipeline gets full - hopefully output from the primary processes is simply
stalled until the pipeline buffer reduces in size?

If the primary process cannot time-stamp, then maybe two pipes would do the
trick? :-

primary  ->  time-stamper  -> delayer  ->to wherever
process       process         process


Tim
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list