- Mastering C# Concurrency
- Eugene Agafonov Andrew Koryavchenko
- 123字
- 2021-07-09 21:26:07
Summary
In this chapter, we have learned how we can synchronize concurrent access to shared data without locking. We found out what a memory model and atomic operation are and how the .NET Framework allows programmers to use them in code. We have discussed the major problems related to lock-free programming and made sure that atomicity is necessary, but not enough to make the concurrent code work right. Also, we have implemented a lock-free stack and queue and illustrated the lock-free approach with concrete examples.
In the next chapter, we will combine approaches that we have learned so far and see how we can structure a concurrent program to lower the performance overhead and optimize it, depending on what exactly the program does.
推薦閱讀
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- Learning ROS for Robotics Programming(Second Edition)
- MySQL數(shù)據(jù)庫應用與管理 第2版
- Visual FoxPro程序設計教程
- JavaScript前端開發(fā)與實例教程(微課視頻版)
- Python應用輕松入門
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- Mastering openFrameworks:Creative Coding Demystified
- Learning Docker Networking
- Java Web從入門到精通(第3版)
- FFmpeg開發(fā)實戰(zhàn):從零基礎到短視頻上線
- R語言:邁向大數(shù)據(jù)之路(加強版)
- Java編程從入門到精通
- Java并發(fā)編程:核心方法與框架
- 計算機應用技能實訓教程