Async polling useable for GUI thread
Posted
by Tomas
on Stack Overflow
See other posts from Stack Overflow
or by Tomas
Published on 2010-05-16T11:23:32Z
Indexed on
2010/05/16
11:30 UTC
Read the original article
Hit count: 192
c#
|asynchronous
Hi,
I have read that I can use asynchronous call with polling especially when the caller thread serves the GUI. I cannot see how because:
while(AsyncResult_.IsCompleted==false) //this stops the GUI thread
{
}
So how it come it should be good for this purpose? I needed to update my GUI status bar everytime deamon thread did some progress..
© Stack Overflow or respective owner