Chapter 14, Multi-Threaded Programming
Running,suspended,wait,sleep,join, andstop.- You don’t – this API is now obsolete.
- Foreground and background.
- Use
CancellationTokento raiseTaskCanceledExceptionwhen aCancellationTokenSourceoperation times out. Thread.Start()orThread.Start(object).