From 4fa0419c8262099ef297bf8b417f51f4095b2df5 Mon Sep 17 00:00:00 2001 From: David Mak Date: Tue, 31 Oct 2023 11:44:31 +0800 Subject: [PATCH] core: Add legacy_parallel Signed-off-by: David Mak --- artiq/language/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/language/core.py b/artiq/language/core.py index 379f57aaa..bcf4a7f8b 100644 --- a/artiq/language/core.py +++ b/artiq/language/core.py @@ -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()