c# .net multitheading and clinet server -- 2
Budget: $30 – $250 CAD
Multithreading
Creating a thread
The Thread class
ThreadStart
ParameterizedThreadStart
Thread.Join()
foreground threads and background threads
How to start a background thread (IsBackground)
Thread Pool threads
QueueUserWorkItem
Passing parameter to Thread Pool thread
CancellationTokenSource and CancellationToken classes
Reason: Cooperative thread cancellation
CancellationTokenSource.Cancel()
Register()
Interrupt & ThreadInterruptedException
IsCancellationRequested
Thread.Sleep
Creating a thread
The Thread class
ThreadStart
ParameterizedThreadStart
Thread.Join()
foreground threads and background threads
How to start a background thread (IsBackground)
Thread Pool threads
QueueUserWorkItem
Passing parameter to Thread Pool thread
CancellationTokenSource and CancellationToken classes
Reason: Cooperative thread cancellation
CancellationTokenSource.Cancel()
Register()
Interrupt & ThreadInterruptedException
IsCancellationRequested
Thread.Sleep