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