MultiThread多线程
2020-11-23 10:40:18 0 举报
AI智能生成
多线程同步方式总结
作者其他创作
大纲/内容
CountDownLatch
await
countdown
Exchanger
exchange
加锁方式
Synchronized
Volatile
ReentrantLock
ReentrantReadWriteLock
线程对象
FutureTask
Callable
Executor
Thread
Runnable
Semaphore
acquire
release
CyclicBarrier
await
Phaser
register
arriveAndDeregister
arriveAndAwaitAdvance
arrive
同步框架
Vector
Stack
ConcurrentHashMap
HashTable
Collections.synchronizedMap
StringBuffer
Collections.synchronizedList
CopyOnWriteArrayList 5.2.3
CopyOnWriteArraySet 5.2.3
同步队列
ConcurrentLinkedQueue
BlockingQueue
0 条评论
下一页