Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CyC2018 committed Jul 13, 2019
1 parent 220ca08 commit ea04e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/notes/Java 并发.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ java.util.concurrent(J.U.C)大大提高了并发性能,AQS 被认为是 J.

## CountDownLatch

用来控制一个线程等待多个线程
用来控制一个或者多个线程等待多个线程

维护了一个计数器 cnt每次调用 countDown() 方法会让计数器的值减 1减到 0 的时候那些因为调用 await() 方法而在等待的线程就会被唤醒

Expand Down
2 changes: 1 addition & 1 deletion notes/Java 并发.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ java.util.concurrent(J.U.C)大大提高了并发性能,AQS 被认为是 J.

## CountDownLatch

用来控制一个线程等待多个线程
用来控制一个或者多个线程等待多个线程

维护了一个计数器 cnt每次调用 countDown() 方法会让计数器的值减 1减到 0 的时候那些因为调用 await() 方法而在等待的线程就会被唤醒

Expand Down

0 comments on commit ea04e2e

Please sign in to comment.