From c2cce9adbd199de5b293974d2a2751baebae371e Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Mon, 10 Jul 2017 19:12:10 -0700 Subject: [PATCH] add comment to spawn verification --- theories/typing/lib/spawn.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theories/typing/lib/spawn.v b/theories/typing/lib/spawn.v index e9081019..ec47a280 100644 --- a/theories/typing/lib/spawn.v +++ b/theories/typing/lib/spawn.v @@ -100,6 +100,8 @@ Section spawn. iIntros "?". by iFrame. } iIntros (c) "Hfin". iMod na_alloc as (tid') "Htl". wp_let. wp_let. unlock. iApply (type_call_iris _ [] () [_] with "LFT HE Htl [] Hf' [Henv]"); + (* The `solve_typing` here shows that, because we assume that `fty` and `retty` + outlive `static`, the implicit requirmeents made by `call_once` are satisifed. *) [solve_typing|solve_to_val|iApply (lft_tok_static 1%Qp)| |]. - by rewrite big_sepL_singleton tctx_hasty_val send_change_tid. - iIntros (r) "Htl _ Hret". -- GitLab