mortonnex
V2EX  ›  问与答

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

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

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

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

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