Scan for data stram


    Mar 01 2012 | 2:37 pm
    Hello,
    I've got an stream of lists (1 list every 20-30ms). I need to test if the stream is running or not. I've made a method using a additional [metro] object timing every 500ms using a [timer] object
    I find this a very CPU consuming method. Has any of you have an idea of a approach not using a metro object?
    Here's en excerpt of my idea

    • Mar 01 2012 | 3:31 pm
      Is it really CPU consuming?
      Here is a way without metro:
    • Mar 01 2012 | 3:59 pm
      My guess is your method is faster. I've been thought to have as little as possible cycles in the max scheduler, which your method provides!
      Thank you.
    • Mar 01 2012 | 8:47 pm
      Or even: