clockblocks.utilities.fork_unsynchronized
- clockblocks.utilities.fork_unsynchronized(process_function: Callable, args: Sequence = (), kwargs: Optional[dict] = None) None [source]
Spawns a parallel process, but as an asynchronous thread, not on a child clock. However, this will make use of the ThreadPool of the currently active clock, so it’s quicker to spawn than creating a new Thread.
- Parameters:
process_function – the process to be spawned
args – arguments for that function
kwargs – keyword arguments for that function