diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-09-10 09:56:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-09-10 09:56:51 -0700 |
commit | bb4aa1b5a46ba6e17e43b962735c7a49e8b74d6f (patch) | |
tree | 53e0163edcf936a3c20f4e67e47d62136beaf2cd | |
parent | 87c5b32925549f05d950ad07c935417ef7eeebb9 (diff) | |
download | mu-bb4aa1b5a46ba6e17e43b962735c7a49e8b74d6f.tar.gz |
3991 - start work on making continuations safe
Plan: 1. Fix a hole where addresses are shared between routines when passed in as arguments to `start-running`. 2. Switch to a new approach to refcount management: instead of updating refcounts when writing products of instructions by default, increment refcounts inside instructions by default and decrement refcounts in caller. More details in future when I actually implement this. 3. Now we shouldn't need a distinction between `new-default-space` and `local-scope`, and all functions can simply decrement refcounts of their default-space, consistently handling any refcounts in the space. At this point if all goes well, continuations should be safe! This commit is just preparation for step 1.
-rw-r--r-- | 071deep_copy.cc (renamed from 074deep_copy.cc) | 0 | ||||
-rw-r--r-- | 072recipe.cc (renamed from 071recipe.cc) | 0 | ||||
-rw-r--r-- | 073scheduler.cc (renamed from 072scheduler.cc) | 0 | ||||
-rw-r--r-- | 074wait.cc (renamed from 073wait.cc) | 0 |
4 files changed, 0 insertions, 0 deletions
diff --git a/074deep_copy.cc b/071deep_copy.cc index cc3a3424..cc3a3424 100644 --- a/074deep_copy.cc +++ b/071deep_copy.cc diff --git a/071recipe.cc b/072recipe.cc index 92ac83ac..92ac83ac 100644 --- a/071recipe.cc +++ b/072recipe.cc diff --git a/072scheduler.cc b/073scheduler.cc index e3ac18cf..e3ac18cf 100644 --- a/072scheduler.cc +++ b/073scheduler.cc diff --git a/073wait.cc b/074wait.cc index b52f3273..b52f3273 100644 --- a/073wait.cc +++ b/074wait.cc |