Thread Timeout

  • Thread starter Thread starter Kevin
  • Start date Start date
Is there anyway to set a timeout for a Thread?

It's not clear exactly what you mean. You can call Thread.Join with a
timeout, but threads are generally independent - it doesn't really
make sense to think of a "general" timeout.

Jon
 
What he does when the Timeout occurs, and the process continues is not clear
to me, so I omitted any mention of it. He may or may not want to kill the
Thread, or do something else entirely. My point was that he can cause the
process to wait for an arbitrary time for the Thread to exit, and do
something afterwards, whatever his requirements may be.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 

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

Back
Top