为了确定,专家们能证实
java.util.concurrent.locks.Lock
道格·利亚的原创同步
基本上是一样的但有不同的名字。
发布于 2009-03-31 20:17:42
实现锁的ReentrantLock封装了一个名为Sync的类。都是道格·利亚写的。我建议您尝试使用Java中的库。
发布于 2009-03-31 03:50:45
至于它的价值,java.util.concurrent.locks.Lock的源代码将Doug列为作者。该软件包中的许多其他文件也是如此。
/*
* This file is available under and governed by the GNU General Public
* License version 2 only, as published by the Free Software Foundation.
* However, the following notice accompanied the original version of this
* file:
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/licenses/publicdomain
*/https://stackoverflow.com/questions/699838
复制相似问题