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
 
Back
Top