Re: Status on synchronous call
"Luo Qun (NCSI SZ)" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <A1A5F292E62B3A43814B896D930A88BF045A9B96@sz-mail.ncs.corp.int-ads> |
Hi Paul, You can try to use two threads, one for download, another to monitor the download folder with filewatcher class. Ps: Sorry, if I broke something. It is my first time reply the mail group. Luo Qun Tel: (086) 0512-62886969-413 -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[email protected]] On Behalf Of Paul Cowan Sent: Nov 24, 2008 16:43 To: [email protected] Subject: [ADVANCED-DOTNET] Status on synchronous call Hi, I have a console application and one part of it is a long running process that retrieves source code from subversion. I'm using a 3rd party library for the subversion access and the call is made in a synchronous fashion. I cannot change this behavior, but what I do want to do is somehow give feed back to the user by outputting something to the console every 'x' seconds, I want to somehow check the status of the synchronous call by using callbacks or something. Is this possible? Cheers Paul =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives