threadutil: don't limit the number of threads
With a maxsize to the Queue of threads we are introducing a blocking call while adding new threads. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
2611a0ba6a
commit
87cf6bda02
@ -85,7 +85,7 @@ class threadlist:
|
|||||||
# Exit-notify threads
|
# Exit-notify threads
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
exitthreads = Queue(100)
|
exitthreads = Queue()
|
||||||
|
|
||||||
def exitnotifymonitorloop(callback):
|
def exitnotifymonitorloop(callback):
|
||||||
"""An infinite "monitoring" loop watching for finished ExitNotifyThread's.
|
"""An infinite "monitoring" loop watching for finished ExitNotifyThread's.
|
||||||
|
Loading…
Reference in New Issue
Block a user