scistag.common.mtΒΆ

Defines a set of common helper functions for threding

scistag.common.mt.managed_thread

Defines the class ManagedThread which enhances the basic Thread class by some comfort functions such as soft and hard interruption of it's execution.

scistag.common.mt.stag_lock

Implements the StagLock class which replaces the standard RLock for threading and configured case by case.

scistag.common.mt.task_thread

Implements the class TaskThread which provides a basic skeleton for a thread which is woken up on demand to execute a task.