# thread_practice **Repository Path**: fuckjava/thread_practice ## Basic Information - **Project Name**: thread_practice - **Description**: 玩转Java并发工具 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2020-12-04 - **Last Updated**: 2023-07-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # thread_practice #### 介绍 玩转Java并发工具 #### src目录说明 1. threadpool:线程池示例代码 2. threadLocal:1.每个线程需要一个独享对象,2.每个线程内需要保存全局变量,避免传参麻烦 3. lock:用于控制资源访问,相对于synchronized,可以提供高级功能 4. atomic:原子类,相对于锁有一定优势 5. cas:cas 示例代码 6. immutable: final关键字修饰 7. collections:并发容器 8. future:Future和Callable,线程治理第二大法宝