Revision b2e8a4d9 lib/workerpool.py
b/lib/workerpool.py | ||
---|---|---|
189 | 189 |
# Notify a waiting worker |
190 | 190 |
self._pool_to_worker.notify() |
191 | 191 |
|
192 |
def AddTask(self, *args):
|
|
192 |
def AddTask(self, args): |
|
193 | 193 |
"""Adds a task to the queue. |
194 | 194 |
|
195 |
@type args: sequence |
|
195 | 196 |
@param args: arguments passed to L{BaseWorker.RunTask} |
196 | 197 |
|
197 | 198 |
""" |
Also available in: Unified diff