documentation

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2310 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-02-17 13:34:10 +00:00
parent b896940d4d
commit d834aa0f2d

View file

@ -27,7 +27,10 @@ except ImportError:
class Threader (object):
"""
A thread generating class.
A thread generating class. Note that since Python has no ability to
stop threads from outside, one has to make sure threads poll
regularly for outside variables to stop them. Or one makes sure
threads surely will terminate in finite time.
"""
def __init__ (self, num=5):
@ -73,7 +76,6 @@ class Threader (object):
Remove inactive threads.
"""
self._reduce_threads()
# XXX don't know how to stop a thread
def start_thread (self, func, args):
"""