forked from goodboy/tractor
Mostly due to magic from @oremanj where we slap in a little bit of
`.from_asyncio`-type stuff to run a `trio`-task from `asyncio.Task`
code!
I'm not gonna go into tooo too much detail but basically the primary
thing needed was a way to (blocking-ly) invoke a `trio.lowlevel.Task`
from an `asyncio` one (which we now have with a new
`run_trio_task_in_future()` thanks to draft code from the aforementioned
jefe) which we now invoke from a dedicated aio case-branch inside
`.devx._debug.pause_from_sync()`. Further include a case inside
`DebugStatus.release()` to handle using the same func to set the
`repl_release: trio.Event` from the aio side when releasing the REPL on
exit cmds.
Prolly more refinements to come ;{o
|
||
|---|---|---|
| .. | ||
| asyncio_bp.py | ||
| debug_mode_hang.py | ||
| fast_error_in_root_after_spawn.py | ||
| multi_daemon_subactors.py | ||
| multi_nested_subactors_error_up_through_nurseries.py | ||
| multi_subactor_root_errors.py | ||
| multi_subactors.py | ||
| open_ctx_modnofound.py | ||
| per_actor_debug.py | ||
| pm_in_subactor.py | ||
| restore_builtin_breakpoint.py | ||
| root_actor_breakpoint.py | ||
| root_actor_breakpoint_forever.py | ||
| root_actor_error.py | ||
| root_cancelled_but_child_is_in_tty_lock.py | ||
| root_timeout_while_child_crashed.py | ||
| shield_hang_in_sub.py | ||
| shielded_pause.py | ||
| subactor_bp_in_ctx.py | ||
| subactor_breakpoint.py | ||
| subactor_error.py | ||
| sync_bp.py | ||