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

[catnap] Remove all Rc<RefCell> and replace with SharedObject #929

Merged
merged 5 commits into from
Sep 8, 2023

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Sep 2, 2023

This PR removes all of the dynamic borrows in Catnap and replaces them with our new SharedObject abstraction. We rename the shared state objects to SharedCatnapLibOS and SharedCatnapQueue to indicate that they are shared across coroutines.

@iyzhang iyzhang self-assigned this Sep 2, 2023
@iyzhang iyzhang force-pushed the enhancement-catnap-remove-rc-refcell branch 2 times, most recently from 703e3da to 6947250 Compare September 2, 2023 02:46
@ppenna ppenna force-pushed the enhancement-catnap-remove-rc-refcell branch from 6947250 to 06b875e Compare September 5, 2023 17:34
@ppenna ppenna added the enhancement Enhancement Request on an Existing Feature label Sep 5, 2023
Copy link
Contributor

@ppenna ppenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@anandbonde anandbonde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@ppenna ppenna merged commit 5d326d7 into dev Sep 8, 2023
11 checks passed
@ppenna ppenna deleted the enhancement-catnap-remove-rc-refcell branch September 8, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement Request on an Existing Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants