CBD.realtime.threadingPython module¶ class CBD.realtime.threadingPython.ThreadingPython[source]¶ Bases: object Simple Python threads subsystem wait(delay, func)[source]¶ Wait for the specified time, or faster if interrupted Parameters: delay – time to wait func – the function to call interrupt()[source]¶ Interrupt the waiting thread callFunc(delay, func)[source]¶ Function to call on a seperate thread: will block for the specified time and call the function afterwards Parameters: delay (float) – The wait delay. func – The function to call. No arguments can be used and no return values are needed.