mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-19 22:01:00 +00:00
documentation
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2310 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b896940d4d
commit
d834aa0f2d
1 changed files with 4 additions and 2 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue