Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book section: Concurrency (draft) #7

Closed
japaric opened this issue Aug 10, 2018 · 1 comment
Closed

Book section: Concurrency (draft) #7

japaric opened this issue Aug 10, 2018 · 1 comment
Assignees
Milestone

Comments

@japaric
Copy link
Member

japaric commented Aug 10, 2018

From @japaric on July 17, 2018 14:34

This section should cover concurrency in embedded systems / microcontrollers. How the Send / Sync traits can be used with interrupts and static variables to achieve memory safe concurrency in those systems. We start with the simple case of interrupt handlers, static variables and critical sections and then show that a framework / DSL like Real Time for The Masses can built using those basic blocks.

If Tock userland apps (not the kernel) are working on stable then we can include a subsection about that as well as it demoes the multiprocess architecture. Same thing with freertos-rs which demoes a more traditional threading system (I think).

Copied from original issue: rust-embedded/wg#124

@japaric
Copy link
Member Author

japaric commented Aug 21, 2018

Triage: I'm currently working on a first draft for this.

bors bot added a commit that referenced this issue Oct 17, 2018
49: First draft at concurrency chapter r=andre-richter a=adamgreig

I've mostly focused on building up to safely sharing peripherals, without very much focus on RTFM or higher level things like an RTOS, since I don't think there's very much we can usefully say about them at the moment. Very happy to be told I'm wrong on that front though!

Closes #7.

r? @rust-embedded/resources 

Co-authored-by: Adam Greig <adam@adamgreig.com>
@bors bors bot closed this as completed in #49 Oct 17, 2018
njmartin10 pushed a commit to njmartin10/book that referenced this issue Nov 10, 2018
49: First draft at concurrency chapter r=andre-richter a=adamgreig

I've mostly focused on building up to safely sharing peripherals, without very much focus on RTFM or higher level things like an RTOS, since I don't think there's very much we can usefully say about them at the moment. Very happy to be told I'm wrong on that front though!

Closes rust-embedded#7.

r? @rust-embedded/resources 

Co-authored-by: Adam Greig <adam@adamgreig.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants