Aeros.thread

This module contains threading helper classes and functions used to coordinate applications with multi-thread support.

Module Contents

Classes

AdvancedThread

This thread class extends the pure-python “Thread” class

class Aeros.thread.AdvancedThread(*args, **kwargs)

Bases: threading.Thread

This thread class extends the pure-python “Thread” class by a stop() function to terminate the thread’s run() method.

Warning

The stop feature is still experimental and needs extensive testing.

__get_id(self)

Get’s the threads PID.

stop(self)

Sends a kill signal to the given thread