Threads and notification when finished

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
 
G

Guest

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

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top