You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/examples/reentrant-lock.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,4 +37,4 @@ lock.unlock(); // State Refinement Error
37
37
The external refinement enforces the expected protocol: `lock()` is only allowed when the object is `unlocked()`, and `unlock()` is only allowed when it is `locked()`.
38
38
39
39
{: .note }
40
-
This refinement models lock state for a single thread only. It does not account for concurrent access across multiple threads, so the protocol should be understood as valid only in single-threaded usage.
40
+
This specification models lock state for a single thread only. It does not account for concurrent access across multiple threads.
0 commit comments