66

啃碎并发(九):内存模型之基础概述

 5 years ago
source link: https://juejin.im/post/5b87ad31e51d4538e41066e9
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
0 前言 在并发编程中,需要解决两个关键问题: 线程之间如何通信; 线程之间如何同步; 线程通信是指线程之间以何种机制来交换信息。在命令式编程中,线程之间的通信机制有两种:共享内存和消息传递。 在共享内存的并发模型里,线程之间共享程序的公共状态,线程

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK