"Zach" <00@00.00> wrote in message
news:c6***************************@freeler.nl...
(2.) What does 'callback' mean, as used in the context of threading?
To answer your second question, since Bruce did so well on your first,
callbacks within the context of threading are the same thing as they are in
all other cirucmstances, that is a method that is called back at some point
to provide information.
When you provide a callback in a threaded app, usually that callback is used
to notify an object or another thread(if the callback is marshaled back to
the original thread) that some processing has been completed.
..NETs async IO model uses callbacks quite frequently, for example, you can
issue an async read(which operates on a seperate thread or thread pool,
depending on the implementation) and have it call your method back when the
read has completed.