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

Thunk lock handling #774

Merged
merged 10 commits into from
Feb 19, 2022
Merged

Thunk lock handling #774

merged 10 commits into from
Feb 19, 2022

Conversation

raviqqe
Copy link
Contributor

@raviqqe raviqqe commented Feb 19, 2022

Close #648.

As described in #648, we might want to implement some other methods like blackholing eventually in the future. But we implement the most naive method of yielding from green threads cooperatively for simplicity in this PR.

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2022

Codecov Report

Merging #774 (e91e2e1) into main (753a3c4) will increase coverage by 0.01%.
The diff coverage is 97.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #774      +/-   ##
==========================================
+ Coverage   85.31%   85.33%   +0.01%     
==========================================
  Files         311      312       +1     
  Lines       29015    29040      +25     
==========================================
+ Hits        24755    24780      +25     
  Misses       4260     4260              
Impacted Files Coverage Δ
lib/mir-fmm/src/entry_functions.rs 97.40% <96.96%> (+0.09%) ⬆️
lib/mir-fmm/src/lib.rs 100.00% <100.00%> (ø)
lib/mir-fmm/src/yield_.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 753a3c4...e91e2e1. Read the comment docs.

@raviqqe raviqqe added the merge label Feb 19, 2022
@mergify mergify bot merged commit 427710c into main Feb 19, 2022
@mergify mergify bot deleted the feature/thunk-lock branch February 19, 2022 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thunk lock handling
2 participants