Stream writing lags my GUI

Posted by blez on Stack Overflow See other posts from Stack Overflow or by blez
Published on 2010-05-16T12:05:55Z Indexed on 2010/05/16 12:10 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

I have a thread that dequeues data from a queue and write it to another application's STDIN. I'm using Stream, but with .Write and even .BeginWrite, when I send 1mb chunks to the second app, my GUI gets laggy for ~1sec. Why?

© Stack Overflow or respective owner

Related posts about c#

Related posts about threading