V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
chunrong918
V2EX  ›  问与答

关于 AQS 的问题

  •  
  •   chunrong918 · Sep 13, 2019 · 1226 views
    This topic created in 2418 days ago, the information mentioned may be changed or developed.

    就是 AQS 的 head 以及 tail 为空的时候,初始化一个空节点

    这个空节点是做什么用的? head 指针不是已经指向获取锁的那个线程的那个节点了吗

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5754 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 08:10 · PVG 16:10 · LAX 01:10 · JFK 04:10
    ♥ Do have faith in what you're doing.