5 Replies Latest reply on Sep 16, 2009 2:15 PM by gaurav.garg

    Stream read queueing

    Raistmer
      is it possible?

      For example, there are 3 streams.
      read to each stream takes let say 5ms.
      Is it possible to issue 3 stream reads at once then wait ~15ms or wait should be added after each stream read.

      That is, what will better:

      1)
      A.read(buf1);
      Sleep(5);
      B.read(buf2);
      Sleep(5);
      C.read(buf3);
      Sleep(5);

      or

      2)
      A.read(buf1);
      B.read(buf2);
      C.read(buf3);
      Sleep(15);

      ?