@@ -14,13 +14,13 @@ The standard concurrency primitives are layered:
1414
1515| Vocab | Provides |
1616| -----------------------------| ----------------------------------------|
17- | ` threads ` | ` spawn ` , ` yield ` , thread identity |
18- | ` concurrency.promises ` | ` <promise> ` , ` fulfill ` , ` ?promise ` |
19- | ` concurrency.locks ` | ` <lock> ` , ` with-lock ` |
20- | ` concurrency.combinators ` | ` parallel-map ` , ` parallel-each ` |
21- | ` concurrency.semaphores ` | ` <semaphore> ` , ` acquire ` , ` release ` |
22- | ` concurrency.mailboxes ` | per-thread inboxes, ` send ` , ` receive ` |
23- | ` concurrency.channels ` | rendezvous handles, ` to ` , ` from ` |
17+ | [ ` threads ` ] [ threads ] | ` spawn ` , ` yield ` , thread identity |
18+ | [ ` concurrency.promises ` ] [ concurrency.promises ] | ` <promise> ` , ` fulfill ` , ` ?promise ` |
19+ | [ ` concurrency.locks ` ] [ concurrency.locks ] | ` <lock> ` , ` with-lock ` |
20+ | [ ` concurrency.combinators ` ] [ concurrency.combinators ] | ` parallel-map ` , ` parallel-each ` |
21+ | [ ` concurrency.semaphores ` ] [ concurrency.semaphores ] | ` <semaphore> ` , ` acquire ` , ` release ` |
22+ | [ ` concurrency.mailboxes ` ] [ concurrency.mailboxes ] | per-thread inboxes, ` send ` , ` receive ` |
23+ | [ ` concurrency.channels ` ] [ concurrency.channels ] | rendezvous handles, ` to ` , ` from ` |
2424
2525``` factor
2626USING: concurrency.combinators concurrency.locks
@@ -50,3 +50,11 @@ hashtable that more than one thread reads or writes. Treat both reads
5050and writes as needing the lock if there's any non-atomic compound
5151update; missing a lock on either side is the classic recipe for a
5252torn read.
53+
54+ [ concurrency.channels ] : https://docs.factorcode.org/content/vocab-concurrency.channels.html
55+ [ concurrency.combinators ] : https://docs.factorcode.org/content/vocab-concurrency.combinators.html
56+ [ concurrency.locks ] : https://docs.factorcode.org/content/vocab-concurrency.locks.html
57+ [ concurrency.mailboxes ] : https://docs.factorcode.org/content/vocab-concurrency.mailboxes.html
58+ [ concurrency.promises ] : https://docs.factorcode.org/content/vocab-concurrency.promises.html
59+ [ concurrency.semaphores ] : https://docs.factorcode.org/content/vocab-concurrency.semaphores.html
60+ [ threads ] : https://docs.factorcode.org/content/vocab-threads.html
0 commit comments