|
-
Nov 8th, 2002, 09:39 AM
#1
interrupting threads
The documentation is confusing me on this.
What I want is having a thread sleep until I give it a GO signal. How would I do this? I have looked into sleep() and interrupt(), but I don't really understand it. What does the "interrupted" state mean? Is it related to the running state of the thread? If yes, how? If no, how do I get the running state?
I want to be able to stop the thread again with another signal. How would I do that? suspend, stop etc. are deprecated.
Thanks in advance
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|