Java中的线程安全分类和基本实现

less than 1 minute read

img

这个线程安全的分类,就解释了为什么我们经常一边说Vector或者HashTable是线程安全的,又一边要竭力避免一些API的使用“陷阱”~~~

cs

cs

A 35 year old developer who mainly uses Java as the development language, and has used other languages such as C, Dart, kotlin, and JS; It is precisely because I know that the world is vast that I hope to explore as widely as possible;

Comments

  Write a comment ...