mortonnex
V2EX  ›  问与答

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

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

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

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

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