Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
lambda-rust
Commits
0db3bed9
There was a problem fetching the pipeline mini graph.
Commit
0db3bed9
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
comment on the need for a lifetime token in sharing
parent
e1308f3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/type.v
+6
-2
6 additions, 2 deletions
theories/typing/type.v
with
6 additions
and
2 deletions
theories/typing/type.v
+
6
−
2
View file @
0db3bed9
...
@@ -30,11 +30,15 @@ Section type.
...
@@ -30,11 +30,15 @@ Section type.
namespace N, for allowing more flexibility for the user of
namespace N, for allowing more flexibility for the user of
this type (typically for the [own] type). AFAIK, there is no
this type (typically for the [own] type). AFAIK, there is no
fundamental reason for this.
fundamental reason for this.
This should not be harmful, since sharing typically creates
This should not be harmful, since sharing typically creates
invariants, which does not need the mask. Moreover, it is
invariants, which does not need the mask. Moreover, it is
more consistent with thread-local tokens, which we do not
more consistent with thread-local tokens, which we do not
give any. *)
give any.
The lifetime token is needed (a) to make the definition of simple types
nicer (they would otherwise require a "∨ □|=>[†κ]"), and (b) so that
we can have emp == sum [].
*)
ty_share
E
N
κ
l
tid
q
:
mgmtE
⊥
↑
N
→
mgmtE
⊆
E
→
ty_share
E
N
κ
l
tid
q
:
mgmtE
⊥
↑
N
→
mgmtE
⊆
E
→
lft_ctx
-∗
&
{
κ
}
(
l
↦∗:
ty_own
tid
)
-∗
q
.[
κ
]
=
{
E
}
=∗
lft_ctx
-∗
&
{
κ
}
(
l
↦∗:
ty_own
tid
)
-∗
q
.[
κ
]
=
{
E
}
=∗
ty_shr
κ
tid
(
↑
N
)
l
∗
q
.[
κ
];
ty_shr
κ
tid
(
↑
N
)
l
∗
q
.[
κ
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment