Skip to content

prove: PCM for rwlock#462

Draft
Marsman1996 wants to merge 3 commits into
asterinas:mainfrom
Marsman1996:rwlock-pcm
Draft

prove: PCM for rwlock#462
Marsman1996 wants to merge 3 commits into
asterinas:mainfrom
Marsman1996:rwlock-pcm

Conversation

@Marsman1996
Copy link
Copy Markdown
Collaborator

Refer #448

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment on lines +469 to +472
/// Rollback token for the failed upread path that transiently set the
/// concrete upread bit.
pub upread_retract_token: Option<UniqueToken>,
/// The unique live upgradeable-reader token, when it is stored in the lock.
Comment thread ostd/src/sync/rwlock.rs
Comment on lines 374 to 378
let tracked perms = RwPerms {
pcm,
core_token,
read_retract_token,
upread_retract_token: Some(upread_retract_token),
@Marsman1996

This comment was marked as off-topic.

@Marsman1996 Marsman1996 marked this pull request as draft May 19, 2026 11:27
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.

2 participants