A
active
I'm reading about Threads but there is so much to understand I don't know
where to spend my time.
I want a worker thread to populate a list box.
I'd like:
The main thread to be able to abort the process if it wants to.
The contents of the list box to show the progress.
Do I need to study any or all the following:
Polling for Asynchronous Call Completion
Waiting for an Asynchronous Call with EndInvoke
Executing a Callback Method When an Asynchronous Call Completes
Waiting for an Asynchronous Call with WaitHandle
I found many examples but am not sure which one corresponds to my needs.
Is there an example of what I described?
Thanks in advance
where to spend my time.
I want a worker thread to populate a list box.
I'd like:
The main thread to be able to abort the process if it wants to.
The contents of the list box to show the progress.
Do I need to study any or all the following:
Polling for Asynchronous Call Completion
Waiting for an Asynchronous Call with EndInvoke
Executing a Callback Method When an Asynchronous Call Completes
Waiting for an Asynchronous Call with WaitHandle
I found many examples but am not sure which one corresponds to my needs.
Is there an example of what I described?
Thanks in advance