提交 4ce441bf 编写于 作者: C chegar

7042679: Phaser javadoc example does not compile

Reviewed-by: dl
上级 26f4c515
......@@ -159,7 +159,7 @@ import java.util.concurrent.locks.LockSupport;
* void runTasks(List<Runnable> tasks) {
* final Phaser phaser = new Phaser(1); // "1" to register self
* // create and start threads
* for (Runnable task : tasks) {
* for (final Runnable task : tasks) {
* phaser.register();
* new Thread() {
* public void run() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册