Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All good things must come to an end, and so do threads when they Threads always preserve invariants when they are allowed to exit normally. Unfortunately, programmers often try to forcefully terminate threads when they believe that the task has been is accomplished, the request has been is canceled or the program needs to quickly shutdown.

...