forked from goodboy/tractor
1
0
Fork 0
tractor/tractor
Tyler Goodlet 44b59f3338 Go back to a `global` single-ton nursery per actor
Turns out the lifetime mgmt of separate nurseries per delegate manager
is tricky; a new nursery can't be naively allocated on cache-misses since
it may get closed by some early terminating task instead of by the "last
using" consumer task. In theory if we allocate using the same logic as
that used for the last-task-triggers-exit then this should work?

For now just go back to a single global nursery per `_Cache` which still
avoids use of the internal actor service nursery.
2022-10-09 21:27:23 -04:00
..
experimental Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
trionics Go back to a `global` single-ton nursery per actor 2022-10-09 21:27:23 -04:00
__init__.py Remove `tractor.run()` once and for all 2022-09-15 23:41:28 -04:00
_child.py Rename our core module to `_runtime` 2022-09-15 23:41:28 -04:00
_clustering.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_debug.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_discovery.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_entry.py 'Rename mp spawn methods to have a `'mp_'` prefix' 2022-10-09 17:54:55 -04:00
_exceptions.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Use `str` | `bytes` union for typing msg dump 2022-07-12 11:59:11 -04:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_portal.py Use one nursery per unique manager (signature) 2022-10-09 21:27:23 -04:00
_root.py Organize process spawning into lookup table 2022-10-09 16:51:21 -04:00
_runtime.py Expose lifetime stack as class attr, add base test suite 2022-09-15 23:50:15 -04:00
_spawn.py 'Rename mp spawn methods to have a `'mp_'` prefix' 2022-10-09 17:54:55 -04:00
_state.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_streaming.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_supervise.py Organize process spawning into lookup table 2022-10-09 16:51:21 -04:00
log.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
msg.py Make `process_messages()` a mod func 2022-09-15 23:41:28 -04:00
to_asyncio.py Log cancels with appropriate level 2022-07-27 11:40:02 -04:00