-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I've been considering doing this for a while, because it doesn't quite meet the same API robustness standards as the rest of the OS -- but it's too useful to delete. I figured 1.0 was a good time to do it.
- Loading branch information
Showing
15 changed files
with
282 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
target = "thumbv7em-none-eabihf" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "lilos-handoff" | ||
version = "1.0.0-pre.0" | ||
authors = ["Cliff L. Biffle <code@cliffle.com>"] | ||
edition = "2021" | ||
license = "MPL-2.0" | ||
description = "Synchronous rendezvous structure for lilos" | ||
repository = "https://github.com/cbiffle/lilos/" | ||
keywords = ["async", "embedded", "realtime", "os"] | ||
categories = ["embedded"] | ||
readme = "README.mkdn" | ||
rust-version = "1.69" | ||
|
||
[package.metadata.docs.rs] | ||
default-target = "thumbv7em-none-eabihf" | ||
|
||
[dependencies] | ||
lilos = { path = "../os", version = "1.0.0-pre.0" } | ||
scopeguard = { version = "1.2.0", default-features = false } | ||
|
||
[lib] | ||
test = false | ||
bench = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Handoff structure for `lilos` | ||
|
||
This implements a synchronous rendezvous structure, which lets a task pass a | ||
value to another task without extra copies or reserving storage space. | ||
|
||
This used to be part of the core `lilos` API, but was extracted during the | ||
process of finalizing the `lilos` 1.0 version. It is currently separate from | ||
`lilos` because its API is not cancel-safe. | ||
|
||
Despite not being cancel-safe, it's still quite useful. See the module docs for | ||
more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.