<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>并发编程 | 暗夜零星</title>
    <link>https://wlizhi.cc/posts/concurrent/</link>
    <description>并发编程 | 暗夜零星</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>2456767505@qq.com (Eddie)</managingEditor>
      <webMaster>2456767505@qq.com (Eddie)</webMaster><copyright>Eddie</copyright><lastBuildDate>Sat, 15 Jul 2023 00:00:00 &#43;0000</lastBuildDate><atom:link href="https://wlizhi.cc/posts/concurrent/" rel="self" type="application/rss+xml" /><item>
  <title>ReentrantLock源码分析</title>
  <link>https://wlizhi.cc/posts/concurrent/75fbcb2/</link>
  <pubDate>Tue, 12 Sep 2023 15:58:51 &#43;0800</pubDate>
  <author>Eddie</author>
  <guid>https://wlizhi.cc/posts/concurrent/75fbcb2/</guid>
  <description><![CDATA[<p><code>ReentrantLock</code> 是 Java 并发库中的一个重要类，它提供了比 <code>synchronized</code> 更灵活的锁机制。<code>ReentrantLock</code> 是一个互斥锁，具有与使用 <code>synchronized</code> 方法和语句所访问的隐式监视器锁类似的语义，但功能更强大。</p>]]></description>
</item>
<item>
  <title>Java中的原子操作类</title>
  <link>https://wlizhi.cc/posts/concurrent/cas-impls/</link>
  <pubDate>Tue, 22 Aug 2023 14:25:50 &#43;0800</pubDate>
  <author>Eddie</author>
  <guid>https://wlizhi.cc/posts/concurrent/cas-impls/</guid>
  <description><![CDATA[<p>在Java中，原子操作类位于java.util.concurrent.atomic包中，这些类提供了一种简单、高效、线程安全的方式来更新一个变量，而不需要使用synchronized关键字进行同步。原子操作类通过利用底层的硬件支持（如CAS指令，即Compare-And-Swap）来确保操作的原子性。</p>]]></description>
</item>
<item>
  <title>CAS和AQS</title>
  <link>https://wlizhi.cc/posts/concurrent/cas-aqs/</link>
  <pubDate>Mon, 21 Aug 2023 14:25:50 &#43;0800</pubDate>
  <author>Eddie</author>
  <guid>https://wlizhi.cc/posts/concurrent/cas-aqs/</guid>
  <description><![CDATA[<p>在Java并发编程中，CAS（Compare-And-Swap）和AQS（AbstractQueuedSynchronizer）是两个非常重要的概念和工具。它们分别代表了两种不同的同步机制，用于解决多线程并发访问共享资源时的数据一致性问题。</p>]]></description>
</item>
<item>
  <title>Thread类</title>
  <link>https://wlizhi.cc/posts/concurrent/thread/</link>
  <pubDate>Mon, 17 Jan 2022 00:27:26 &#43;0800</pubDate>
  <author>Eddie</author>
  <guid>https://wlizhi.cc/posts/concurrent/thread/</guid>
  <description><![CDATA[Java创建线程的两种方式、Thread中常用方法及其特性。]]></description>
</item>
</channel>
</rss>
