F
Frank Rizzo
I have a windows service which spawns a lot of threads that are all busy
doing various things. What is the preferred way of telling all these
threads to stop? For a situation, when the user stops the service or
the system is shutting down.
I could kill the threads, but that generates ThreadAbortException all
over the place and isn't elegant.
Regards
doing various things. What is the preferred way of telling all these
threads to stop? For a situation, when the user stops the service or
the system is shutting down.
I could kill the threads, but that generates ThreadAbortException all
over the place and isn't elegant.
Regards