This module defines the thread manager The Thread manager provides thread on demand

class core.threadmanager.ThreadManager(num_thread=4)[source]

Bases: object

ThreadManager provides thread on demand

add_task(func, params)[source]

Add a task to perform :param func: function to call :param params : tuple of parameters

clear()[source]

clear pending task

NUM_THREAD = 4
core.threadmanager.worker(queue)[source]

Thread function

Previous topic

<no title>

Next topic

<no title>

This Page