blacs.tab_base_classes.Worker

class blacs.tab_base_classes.Worker(*args, **kwargs)[source]

Bases: 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.

init()[source]
mainloop()[source]
run(worker_name, device_name, extraargs)[source]

The method that gets called in the subprocess. To be overridden by subclasses