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 /arc/channel.mu | |
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.
Diffstat (limited to 'arc/channel.mu')
0 files changed, 0 insertions, 0 deletions