none
Will slow threads corrup the buffer? RRS feed

  • General discussion

  • I have two scenarios here to discuss.My objective is to read the data from the usb. Let's say, i am reading around 1000 bytes from the USB every 5 ms.

    Scenario 1:

    For the above probelem statement, i just created a new stand alone application (say console application), that will read the bytes from the usb in async way. That contains only one thread even for reading a multiple devices. Here, I could not get any data loss or packet corruption.

    Scenario 2:

    For the above problem statement, i just created a new windows com service application. that will read the bytes from the usb in async way. That contains more than 10 threads for doing someother job. But, only one thread even for reading a multiple devices. Here, I could get data loss and packet corruption.

    why is it so???

    Any idea


    NAVEEN

    Monday, February 24, 2014 2:04 PM

All replies

  • Hi Naveen,

    I'm afraid you posted your question to the wrong forum. This one is dedicated to Project Server that is the Microsoft scheduling and planning enterprise application.

    Please post it again to the appropriate forum in order to an helpful hand.

    Cheers.


    Guillaume Rouyre - MBA, MCP, MCTS

    Monday, February 24, 2014 2:59 PM
    Moderator