Hi,
No really, when the method that spawned the thread finish the thread is
done.
Are you keeping a reference to the thread in the main UI?
does the thread send back or interact in any way with the UI?
what part of the method itself is slower? maybe it has nothing to do with it
running in a thread, what if you execute it directly in the UI, do you see
the same results when you run it the second time?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<jo*********@topscene.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
I have a windows forms app (VS 2005) that uses a worker thread to do
lots of stuff in a job. When I run the job again - always after the
first completes - from the app (back to the UI thread to spawn another
worker thread) I notice that the performance has slowed a lot. Is there
something I need to do to properly dispose of the first worker thread,
or is that management already built in?