It's almost as bad as terminating a thread.
Instead of just answering a question, I'm going
to ask you the questions and see if you can come
up with the answers.
Consider the following program, in (gasp) C#:
When you run this program and hit Enter to suspend, the program hangs.
But if you change the worker function to just "for...