首页 > 其他 > 详细

2019-2-20 日记

时间:2019-02-20 23:02:18      阅读:203      评论:0      收藏:0      [点我收藏+]

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

 

2019-2-20 日记

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!