-
Notifications
You must be signed in to change notification settings - Fork 21
feat: replace task context with thread-local storage #614
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
f6d2a8f
feat: Implement thread local storage based execution stash
bmuddha 6bc2490
feat: use scheduled task channel
Dodecahedr0x 920a9b1
feat: remove task context
Dodecahedr0x 3b17182
test: task scheduler with test-kit
Dodecahedr0x 57ec93a
fix: integration tests
Dodecahedr0x d9bc656
Merge branch 'master' into dode/crank-tls-task-queue
Dodecahedr0x 7a9aced
feat: improve the TLS stash API
bmuddha 93f27c9
test: fix flakyness
Dodecahedr0x ebfee5b
test: fix flakyness
Dodecahedr0x 649f069
feat: add validation
Dodecahedr0x b282868
docs: fix typo
Dodecahedr0x 6b055f0
docs: add todo
Dodecahedr0x 0e60434
docs: clarify error
Dodecahedr0x 1b4db56
feat: checked add
Dodecahedr0x a83897f
feat: update guinea
Dodecahedr0x 973781c
fix: fund validator authority
Dodecahedr0x f94b077
style: define setup type
Dodecahedr0x b52a038
style: replace unwrap with expect
Dodecahedr0x 4d5fea8
Merge branch 'master' into dode/crank-tls-task-queue
Dodecahedr0x 67639f2
style: fix typo
Dodecahedr0x 3a2011e
test: reduce maximum wait
Dodecahedr0x 749f46d
style: replace warn with error
Dodecahedr0x 5cc9cdd
feat: remove unused dep
Dodecahedr0x ebdd457
feat: reduce nesting
Dodecahedr0x 80c0ee3
docs: add safety comment
Dodecahedr0x 4c677de
feat: into db task
Dodecahedr0x fc3dce9
style: lint
Dodecahedr0x 4fd0632
fix: always clear stash
Dodecahedr0x b4ad2d7
docs: better safety comment
Dodecahedr0x bc35af2
feat: use enum for processing outcomes
Dodecahedr0x c578f65
refactor: clarify behavior on tx errors
Dodecahedr0x 5de259b
feat: defensively clear stash
Dodecahedr0x 0a2a25d
refactor: move tls to core
Dodecahedr0x 72914da
style: lint
Dodecahedr0x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -29,3 +29,5 @@ doctest = false | |
| [features] | ||
| no-entrypoint = [] | ||
| default = [] | ||
| custom-heap = [] | ||
| custom-panic = [] | ||
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -50,4 +50,3 @@ system-metrics-tick-interval-secs = 10 | |
|
|
||
| [task-scheduler] | ||
| reset = true | ||
| millis-per-tick = 1000 | ||
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -14,4 +14,5 @@ macro_rules! debug_panic { | |
| } | ||
|
|
||
| pub mod link; | ||
| pub mod tls; | ||
| pub mod traits; | ||
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.