随笔分类 -  多线程

摘要:1. 线程(不常用) Thread 2. 线程池(常用) ThreadPoolExecutor 3. @Async注解(常用) 本质上是线程池 相关自动装配类TaskExecutionAutoConfiguration 线程池的队列上限配置 spring.task.execution.pool.qu 阅读全文
posted @ 2021-03-07 15:10 windge 阅读(387) 评论(0) 推荐(0) 编辑
摘要:C# Java 备注说明 Semaphore/SemaphoreSlim Semaphore AutoResetEvent/ManualResetEventSlim ReentrantLock.newCondition CountdownEvent CountDownLatch Barrier Cy 阅读全文
posted @ 2020-12-13 10:47 windge 阅读(515) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示