jdk/src/share/classes/java/util/concurrent/CountDownLatch.java
changeset 4110 ac033ba6ede4
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
4109:b997a0a1005d 4110:ac033ba6ede4
   146  *   void doWork() { ... }
   146  *   void doWork() { ... }
   147  * }
   147  * }
   148  *
   148  *
   149  * </pre>
   149  * </pre>
   150  *
   150  *
   151  * <p>Memory consistency effects: Actions in a thread prior to calling
   151  * <p>Memory consistency effects: Until the count reaches
       
   152  * zero, actions in a thread prior to calling
   152  * {@code countDown()}
   153  * {@code countDown()}
   153  * <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
   154  * <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
   154  * actions following a successful return from a corresponding
   155  * actions following a successful return from a corresponding
   155  * {@code await()} in another thread.
   156  * {@code await()} in another thread.
   156  *
   157  *