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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Terminating a thread 4
Send a message to a thread 1
Invoke Method 11
[email protected] 1
NumericUpDown Control 2
bitwise operations 1
MenuItem35.PerformClick() 2
Print an image file from VB 1

Back
Top