Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
efa43aa3
Commit
efa43aa3
authored
Jun 14, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix type in lock.
parent
777e3509
Pipeline
#1405
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
heap_lang/lib/lock.v
heap_lang/lib/lock.v
+1
-1
No files found.
heap_lang/lib/lock.v
View file @
efa43aa3
...
...
@@ -12,7 +12,7 @@ Global Opaque newlock acquire release.
(** The CMRA we need. *)
(* Not bundling heapG, as it may be shared with other users. *)
Class
lockG
Σ
:
=
Spawn
G
{
lock_tokG
:
>
inG
heap_lang
Σ
(
exclR
unitC
)
}.
Class
lockG
Σ
:
=
Lock
G
{
lock_tokG
:
>
inG
heap_lang
Σ
(
exclR
unitC
)
}.
Definition
lockGF
:
gFunctorList
:
=
[
GFunctor
(
constRF
(
exclR
unitC
))].
Instance
inGF_lockG
`
{
H
:
inGFs
heap_lang
Σ
lockGF
}
:
lockG
Σ
.
Proof
.
destruct
H
.
split
.
apply
:
inGF_inG
.
Qed
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment