equal
deleted
inserted
replaced
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 * |