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

Refactor async_rw_mutex #1379

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
575b4b2
Store async_rw_mutex value in a separate shared state
msimberg Dec 18, 2024
05ad040
Don't pass shared state from previous to next state in async_rw_mutex
msimberg Dec 18, 2024
773c2ee
Trigger continuations of async_rw_mutex shared states in the owning s…
msimberg Dec 18, 2024
2e2ab03
Replace type-erased unique_function with a pointer and virtual functi…
msimberg Dec 18, 2024
35a19c6
Store operation states of continuations in async_rw_mutex as an intru…
msimberg Dec 18, 2024
9b0f1a9
Avoid storing pointer to previous shared state in async_rw_mutex
msimberg Dec 18, 2024
7851830
Manage shared state allocation and reference counting manually in asy…
msimberg Dec 19, 2024
5993cee
Don't shadow allocator_type typedef in async_rw_mutex
msimberg Dec 19, 2024
84b60d2
Avoid shadowing alloc member variable in async_rw_mutex
msimberg Dec 19, 2024
c16ec31
Make one-parameter constructors explicit in async_rw_mutex
msimberg Dec 19, 2024
a7160cb
Avoid templated one-parameter constructors in async_rw_mutex
msimberg Dec 19, 2024
1bef4af
Avoid writing out a few full pointer types in favour of auto* in asyn…
msimberg Dec 19, 2024
851e7bb
Mark move constructors noexcept in async_rw_mutex
msimberg Dec 19, 2024
a584683
Remove unused set_value member function in async_rw_mutex shared state
msimberg Dec 19, 2024
5595ea0
Revert "Manage shared state allocation and reference counting manuall…
msimberg Dec 20, 2024
44874e7
Revert "Remove unused set_value member function in async_rw_mutex sha…
msimberg Dec 20, 2024
6def689
Ensure async_rw_mutex shared state is released as early as possible
msimberg Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading