Threads

  • Thread starter Thread starter S Shulman
  • Start date Start date
S

S Shulman

Hi

I am looking for a method that returns all threads running under the
application so I can make sure that all threads are terminated when the user
closes the program

Thank you,
Shmuel Shulman
 
S Shulman said:
I am looking for a method that returns all threads running under the
application so I can make sure that all threads are terminated when the
user closes the program

Setting the threads' 'IsBackground' property to 'True' will cause them to be
terminated automatically when the main thread terminates.
 
Thanks,
Shmuel

Herfried K. Wagner said:
Setting the threads' 'IsBackground' property to 'True' will cause them to
be terminated automatically when the main thread terminates.
 
Back
Top