tmp/tmpj78u2pt2/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
### Latches <a id="thread.latch">[[thread.latch]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
A latch is a thread coordination mechanism that allows any number of
|
| 4 |
threads to block until an expected number of threads arrive at the latch
|
| 5 |
(via the `count_down` function). The expected count is set when the
|
| 6 |
latch is created. An individual latch is a single-use object; once the
|
| 7 |
expected count has been reached, the latch cannot be reused.
|
|
|
|
| 1 |
### Latches <a id="thread.latch">[[thread.latch]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="thread.latch.general">[[thread.latch.general]]</a>
|
| 4 |
+
|
| 5 |
A latch is a thread coordination mechanism that allows any number of
|
| 6 |
threads to block until an expected number of threads arrive at the latch
|
| 7 |
(via the `count_down` function). The expected count is set when the
|
| 8 |
latch is created. An individual latch is a single-use object; once the
|
| 9 |
expected count has been reached, the latch cannot be reused.
|