Python threading

class pypdevs.realtime.threadingPython.ThreadingPython[source]

Simple Python threads subsystem

__init__()[source]

Constructor

callFunc(delay, func)[source]

Function to call on a seperate thread: will block for the specified time and call the function afterwards

interrupt()[source]

Interrupt the waiting thread

wait(delay, func)[source]

Wait for the specified time, or faster if interrupted

Parameters
  • delay – time to wait

  • func – the function to call