forked from goodboy/tractor
1
0
Fork 0
tractor/tractor
Tyler Goodlet 573b8fef73 Add better actor cancellation tracking
Add `Actor._cancel_called` and `._cancel_complete` making it possible to
determine whether the actor has started the cancellation sequence and
whether that sequence has fully completed. This allows for blocking in
internal machinery tasks as necessary. Also, always trigger the end of
ongoing rpc tasks even if the last task errors; there's no guarantee the
trio cancellation semantics will guarantee us a nice internal "state"
without this.
2020-10-13 11:48:52 -04:00
..
testing Make rpc_module_paths a list 2020-08-13 11:53:45 -04:00
__init__.py mypy fixes 2020-10-13 11:03:55 -04:00
_actor.py Add better actor cancellation tracking 2020-10-13 11:48:52 -04:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_debug.py mypy fixes 2020-10-13 11:03:55 -04:00
_discovery.py Add "root mailbox" contact info passing 2020-10-05 11:58:58 -04:00
_entry.py Disable SIGINT handling in child processes 2020-09-28 09:24:36 -04:00
_exceptions.py Expose trio exceptions to `RemoteActorError` 2019-10-30 00:32:10 -04:00
_forkserver_override.py Continue hacking the forkserver in Python 3.8 2019-10-15 22:37:47 -04:00
_ipc.py Allow for tuple keys with std `msgpack` 2020-08-03 18:41:21 -04:00
_mp_fixup_main.py Do __main__ fixups like ``mulitprocessing does`` 2020-01-29 21:14:48 -05:00
_portal.py Ack our inability to hard kill sub-procs 2020-09-28 13:56:42 -04:00
_spawn.py Report `trio.Cancelled` when exhausting portals.. 2020-10-12 23:28:36 -04:00
_state.py mypy fixes 2020-10-13 11:03:55 -04:00
_streaming.py Validate stream functions at decorate time 2019-03-29 19:10:32 -04:00
_trionics.py Facepalm: tty locking from root doesn't require an extra task 2020-10-05 11:58:58 -04:00
log.py Allow overriding the root logger name 2019-12-20 16:37:17 -05:00
msg.py Docs fixes 2020-08-08 22:29:57 -04:00