forked from M-Labs/artiq
1
0
Fork 0

core: Add legacy_parallel

Signed-off-by: David Mak <csdavidmak@ust.hk>
This commit is contained in:
David Mak 2023-10-31 11:44:31 +08:00 committed by Sébastien Bourdeauducq
parent f3655aa084
commit 4fa0419c82
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ __all__ = [
"print_rpc",
"Option", "Some", "none", "UnwrapNoneError",
"set_time_manager",
"parallel", "sequential",
"parallel", "legacy_parallel", "sequential",
"delay_mu", "now_mu", "at_mu",
"set_watchdog_factory", "watchdog", "TerminationRequested",
]
@ -211,6 +211,7 @@ class _SequentialContextManager:
_time_manager.exit()
parallel = _ParallelContextManager()
legacy_parallel = _ParallelContextManager()
sequential = _SequentialContextManager()