|
-
October 6th, 1999, 11:49 AM
#1
Kill a thread? before it kills the app! HOWTO
How to kill a worker thread, or stop the thread manually using api calls? the main thread creates another worker thread to do some polling.. if the main thread decides to kill the worker thread, before the worker thread can die how to do it?
how do you do concurrent processing with COM anyways?
I am doing something like this..
'start the thread here
sub startAThread ()
startTheWork
createThread ' the thread is running doing work
contineTheWork ' the main thread is busy
finishedWork
'now if the thread had died, no probs
'but if it is still working, no good, killit.
killThread 'at this point kill the thread anyways
'the entire app crashes unfortunately
end sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|