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

Change AtomicBool to bool #5

Merged
merged 1 commit into from Oct 27, 2021
Merged

Conversation

mgattozzi
Copy link
Owner

In previous iterations of whorl we needed an AtomicBool, but since we
wrap a Task in an Arc we don't actually need it since we never change
the value either. The Task either blocks or does not and that does not
change at all. We change to a normal bool and remove any phrasing
related to it being an AtomicBool.

Closes #4

In previous iterations of whorl we needed an AtomicBool, but since we
wrap a Task in an Arc we don't actually need it since we never change
the value either. The Task either blocks or does not and that does not
change at all. We change to a normal bool and remove any phrasing
related to it being an AtomicBool.

Closes #4
@mgattozzi mgattozzi merged commit 1c8eaa5 into main Oct 27, 2021
@mgattozzi mgattozzi deleted the mgattozzi/remove-atomic-bool branch October 27, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why Task::bool is AtomicBool?
1 participant