Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
George Pirlea
Iris
Commits
efa43aa3
Commit
efa43aa3
authored
Jun 14, 2016
by
Robbert Krebbers
Browse files
Fix type in lock.
parent
777e3509
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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