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

Move Ghci out of the Arc<Mutex<_>> #39

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

9999years
Copy link
Member

In #11 I removed the Weak<Ghci> pointers from the ghci task structs, favoring the mpsc channels for communication over locking a mutex. This means I can make several simplifications, in particular turning Ghci::reload into a real method that uses std::mem::replace.

In #11 I removed the `Weak<Ghci>` pointers from the ghci task structs,
favoring the `mpsc` channels for communication over locking a mutex.
This means I can make several simplifications, in particular turning
`Ghci::reload` into a real method that uses `std::mem::replace`.
@linear
Copy link

linear bot commented Aug 22, 2023

DUX-1318 Move `Ghci` out of `Arc<Mutex<_>>`

NFCI refactor

@9999years
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

This was referenced Aug 22, 2023
@github-actions github-actions bot added the patch Bug fixes or non-functional changes label Aug 22, 2023
@9999years 9999years merged commit e3174e4 into main Aug 22, 2023
4 checks passed
@9999years 9999years deleted the rebeccat/dux-1318-move-ghci-out-of-arcmutex_ branch August 22, 2023 23:48
@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Bug fixes or non-functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants