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

refac(maitake): combine wait module into sync #303

Merged
merged 3 commits into from
Aug 30, 2022
Merged

Conversation

hawkw
Copy link
Owner

@hawkw hawkw commented Aug 30, 2022

currently, maitake has a wait module, which contains WaitCell,
WaitQueue, WaitMap, and (as of #301) Semaphore. in addition, it
has a separate sync module, which currently contains Mutex and
nothing else (and may grow a RwLock eventually/soon). this feels a bit
unfortunate --- the wait types are also synchronization primitives.

this branch moves all of maitake::wait into maitake::sync. in
addition,i fixed up the docs a little bit.

closes #302

@hawkw hawkw enabled auto-merge (squash) August 30, 2022 17:09
@hawkw hawkw merged commit 6b71a6b into main Aug 30, 2022
@hawkw hawkw deleted the eliza/wait-is-sync branch August 30, 2022 17:17
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.

maitake: consider merging wait and sync modules
1 participant