2019-2-20 日记

1.Thread Synchronization, 终于都看懂了,代码也写明白了。

ff Performing basic atomic operations
ff Using the Mutex construct
ff Using the SemaphoreSlim construct
ff Using the AutoResetEvent construct
ff Using the ManualResetEventSlim construct
ff Using the CountDownEvent construct
ff Using the Barrier construct
ff Using the ReaderWriterLockSlim construct
ff Using the SpinWait construct

2.下一步,线程池,不过,这部分内容,已经被任务并行类库(TPL)代替了,可有可无了。

ff Invoking a delegate on a thread pool
ff Posting an asynchronous operation on a thread pool
ff Thread pool and the degree of parallelism
ff Implementing a cancellation option
ff Using a wait handle and a timeout with a thread pool
ff Using a timer
ff Using the BackgroundWorker component

原文地址:https://www.cnblogs.com/maoyan/p/10409691.html