diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-12 17:21:37 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-12 17:21:37 -0700 |
commit | ddf0fb30de036ee7c714e813442b7ae0809d26f4 (patch) | |
tree | 95ac47dc91b569df5d745ec55e66865f57ea70d3 /src/libs/ascii | |
parent | 300b6beaf106c8fb89eb5da31ca327e7d68ec8b0 (diff) |
til: register contexts on-stream @ create time
Module contexts are now discoverable via the stream a la
til_stream_find_module_contexts().
The current architecture has the stream adding a reference to all
the contexts registered. So even if they get unreferenced by
their creators, they will linger on-stream.
There's a gc mechanism til_stream_gc_module_contexts() which can
be used to trigger a cleanup of contexts _only_ referenced by the
stream.
It's unclear as of yet if this is the way to go long-term, but it
lets things work for now and allows some iterating and
experimentation to see where to go next.
Diffstat (limited to 'src/libs/ascii')
0 files changed, 0 insertions, 0 deletions