Skip to content
Snippets Groups Projects
Commit 1b16dbbe authored by Ralf Jung's avatar Ralf Jung
Browse files

refine comments

parent 4a90389f
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -119,9 +119,9 @@ Section rwlockreadguard. ...@@ -119,9 +119,9 @@ Section rwlockreadguard.
move=>?????/=. apply uPred.exist_mono=>?. by rewrite sync_change_tid. move=>?????/=. apply uPred.exist_mono=>?. by rewrite sync_change_tid.
Qed. Qed.
(* Probably for reasons related to the underlying representation, (* POSIX requires the unlock to occur from the thread that acquired
Rust does not implement Send for RwLockWriteGuard. We could prove the lock, so Rust does not implement Send for RwLockWriteGuard. We could
this. *) prove this. *)
End rwlockreadguard. End rwlockreadguard.
Hint Resolve rwlockreadguard_mono' rwlockreadguard_proper' : lrust_typing. Hint Resolve rwlockreadguard_mono' rwlockreadguard_proper' : lrust_typing.
...@@ -123,9 +123,9 @@ Section rwlockwriteguard. ...@@ -123,9 +123,9 @@ Section rwlockwriteguard.
by rewrite sync_change_tid. by rewrite sync_change_tid.
Qed. Qed.
(* Probably for reasons related to the underlying representation, (* POSIX requires the unlock to occur from the thread that acquired
Rust does not implement Send for RwLockWriteGuard. We could prove the lock, so Rust does not implement Send for RwLockWriteGuard. We could
this. *) prove this. *)
End rwlockwriteguard. End rwlockwriteguard.
Hint Resolve rwlockwriteguard_mono' rwlockwriteguard_proper' : lrust_typing. Hint Resolve rwlockwriteguard_mono' rwlockwriteguard_proper' : lrust_typing.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment