mortonnex
V2EX  ›  问与答

看 AQS 源码时冒出的一个问题

  •  
  •   mortonnex · Feb 15, 2019 · 1032 views
    This topic created in 2729 days ago, the information mentioned may be changed or developed.

    这个方法会在共享锁获取成功后调用,它的作用是唤醒后面的节点

    有人和我一样觉得它的命名不准确吗?因为刚一获取 sharedLock 就要 release?这显然是不对的

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