Threads and notification when finished

  • Thread starter Thread starter Tobias Matzat
  • Start date Start date
T

Tobias Matzat

Hi!

I am writing an application that should fetch some data in the
background. Each file should be downloaded in a thread. Afterwards I
would like to display the results in a document in the mobile internet
explorer. Well, async callback couldn't be used in the cf 2.0. How could
it be made possible that each thread notices the main thread when his
task is done? Events? I mean diplay a wait cursor and wait until all
threads have finished. It depends on your internet connection how long a
download lasts. Therefore I cannot simply put the main thread to sleep.
But when there are more threads downloading files? Can I get information
about all running threads? I mean, is a special thread running or not.
Could that be made with cf 2.0?

THX!

Tobias
 
Raising events from the thread would be a typical way. Another would be
through a callback.

-Chris
 
Back
Top