Eduardo Jauch
2007-07-04 13:31:07 UTC
Helo!
I have an app that creat one TThread to acsess internet.
Now, I want to use the Main Thread to access the internet and when some
conditions on the html page are satisfied, execute another thread (can
be more thna one now). These threads are all created with
FreeOnTerminate set to false.
My doubt is that one, some or all of the threads executeds, may don't
finish with an ok status, and than, they must return without terminate
to be executed again when the conditions on main thread are satisfied
again, until they finish with an ok status.
Can I do the EXECUTE method of the thread multiply times? How can I know
if the thread are running?
Any ideas on how I can do this?
If I must create these threads when I need then, this is do fast?
Thanks!
I have an app that creat one TThread to acsess internet.
Now, I want to use the Main Thread to access the internet and when some
conditions on the html page are satisfied, execute another thread (can
be more thna one now). These threads are all created with
FreeOnTerminate set to false.
My doubt is that one, some or all of the threads executeds, may don't
finish with an ok status, and than, they must return without terminate
to be executed again when the conditions on main thread are satisfied
again, until they finish with an ok status.
Can I do the EXECUTE method of the thread multiply times? How can I know
if the thread are running?
Any ideas on how I can do this?
If I must create these threads when I need then, this is do fast?
Thanks!