__init__(self,
sender,
workerFn,
args=(),
kwargs={},
name=None,
group=None,
daemon=False,
sendReturn=True,
senderArg=None)
(Constructor)
The sender will send the return value of
workerFn(*args, **kwargs) to the main thread. The name and group
are same as threading.Thread constructor parameters. Daemon causes
setDaemon() to be called. If sendReturn is False, then the return
value of workerFn() will not be sent. If senderArg is given, it
must be the name of the keyword arg to use to pass the sender into
the workerFn, so the function can send (typically many) results.
-
- Overrides:
threading.Thread.__init__
|