Threading Backend¶
- class pypdevs.realtime.threadingBackend.ThreadingBackend(subsystem, args)[source]¶
Wrapper around the actual threading backend. It will also handle interrupts and the passing of them to the calling thread.
- __init__(subsystem, args)[source]¶
Constructor
- Parameters
subsystem – string specifying the subsystem to use: python, tkinter or loop
args – all additional arguments that should be passed to the subsystem’s constructor (must be a list)
- getInterrupt()[source]¶
Return the value of the interrupt and clear it internally.
- Returns
the interrupt
- interrupt(value)[source]¶
Interrupt a running wait call, overwriting any previous interrupts.
- Parameters
value – the value that interrupts