Skip to content

Commit fe70ee7

Browse files
author
zhangquanli
committed
程序清单 8-4 使用 Semaphore 来控制任务的提交速率
1 parent ba4e737 commit fe70ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/chapter_08/code_04/BoundedExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import java.util.concurrent.Semaphore;
88

99
/**
10-
* Using a Semaphore to throttle task submission.
10+
* 程序清单 8-4 使用 Semaphore 来控制任务的提交速率
1111
*/
1212
@ThreadSafe
1313
public class BoundedExecutor {

0 commit comments

Comments
 (0)