blacs.tab_base_classes.Worker¶
- class blacs.tab_base_classes.Worker(*args, **kwargs)[source]¶
Bases:
zprocess.process_tree.Process
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)init
()interrupt_startup
([reason])Called from the parent process.
mainloop
()run
(worker_name, device_name, extraargs)The method that gets called in the subprocess.
start
(*args, **kwargs)Call in the parent process to start a subprocess.
terminate
([wait_timeout])Interrupt process startup if not already done, ensuring self.child exists or is None if startup was interrupted before the process was created.