N
Newbie
Hi,
I have an application that will have a number of threads created to perform
data manipulation tasks in the backround worker class.
Looking through some of the documentation on how to do this, it seems that
the background worker class is able to only really giv eback data when the
thread completes.
What I a want to do is every second(using a timer event) get back the %
complete of the data manipulation, so that the user can see the progress of
each of the tasks going on.
The only way I can think to do this is have the thread write a value to the
disk, and then the primary applicaiton thread reads this file every second
to get the value. Seems a bit wierd to do this.
Is there a better way to do this ?
Hope it all made sense ...
I have an application that will have a number of threads created to perform
data manipulation tasks in the backround worker class.
Looking through some of the documentation on how to do this, it seems that
the background worker class is able to only really giv eback data when the
thread completes.
What I a want to do is every second(using a timer event) get back the %
complete of the data manipulation, so that the user can see the progress of
each of the tasks going on.
The only way I can think to do this is have the thread write a value to the
disk, and then the primary applicaiton thread reads this file every second
to get the value. Seems a bit wierd to do this.
Is there a better way to do this ?
Hope it all made sense ...