alemargo Posted January 12, 2004 Posted January 12, 2004 Hi, Does anyone know how to reastart a stopped thread? Thanks. Quote
iebidan Posted January 12, 2004 Posted January 12, 2004 Is the thread sleeping??? or you destroyed it??? Quote Fat kids are harder to kidnap
Moderators Robby Posted January 12, 2004 Moderators Posted January 12, 2004 Also, is it still in scope? Quote Visit...Bassic Software
alemargo Posted January 12, 2004 Author Posted January 12, 2004 Thread The thread is in scope. Actually, the thread state indicates a STOPPED thread. So I have to create NEW thread to restart it. IF Thread.ThreadState = ... Stopped then tr1 = new Thread(...) tr1.Start() end if That seem to work. By the way, do you know if it is possible to start Timer from a newly created thread? Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.