diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2019-09-15 17:09:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-15 17:09:40 +0000 |
| commit | 4ff28e9d13e845abf39c662643ae2ff5df57ec16 (patch) | |
| tree | 7d9770cd357e584d85ef6ddc32bddd1a937d1020 /book/en/src/internals/tasks.md | |
| parent | fafeeb27270ef24fc3852711c6032f65aa7dbcc0 (diff) | |
| parent | 7aa270cb92180abfc9102a69efdde378c3396b5e (diff) | |
Merge pull request #205 from japaric/heterogeneous
rtfm-syntax refactor + heterogeneous multi-core support
Diffstat (limited to 'book/en/src/internals/tasks.md')
| -rw-r--r-- | book/en/src/internals/tasks.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/internals/tasks.md b/book/en/src/internals/tasks.md index 432c2e6..dd3638a 100644 --- a/book/en/src/internals/tasks.md +++ b/book/en/src/internals/tasks.md @@ -19,7 +19,7 @@ task. The ready queue is a SPSC (Single Producer Single Consumer) lock-free queue. The task dispatcher owns the consumer endpoint of the queue; the producer endpoint -is treated as a resource shared by the tasks that can `spawn` other tasks. +is treated as a resource contended by the tasks that can `spawn` other tasks. ## The task dispatcher @@ -244,7 +244,7 @@ const APP: () = { baz_INPUTS[index as usize].write(message); lock(self.priority(), RQ1_CEILING, || { - // put the task in the ready queu + // put the task in the ready queue RQ1.split().1.enqueue_unchecked(Ready { task: T1::baz, index, |
