-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-concurrencyArea: ConcurrencyArea: ConcurrencyA-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
- ARC should have a get method to complement the get function. This would make ARCs a bit nicer to use and would be more consistent with the other arc types.
- MutexARC should have read and write methods instead of an access method. This is more consistent with RWARC, makes the semantics of the code clearer, and is important for types like LinearMap where the API changes depending on whether the reference is immutable or not (and currently if you have a mutable reference you cannot get an immutable reference without something like the Mut type or unsafe).
Metadata
Metadata
Assignees
Labels
A-concurrencyArea: ConcurrencyArea: ConcurrencyA-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.