You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="headerButton"><ahref="celery.concurrency.processes.html" title="Multiprocessing Pool Support - celery.concurrency.processes" accesskey="P">previous</a></div>
<spanid="thread-pool-support-experimental-celery-concurrency-threads"></span><h1>Thread Pool Support <strong>EXPERIMENTAL</strong> - celery.concurrency.threads<aclass="headerlink" href="#module-celery.concurrency.threads" title="Permalink to this headline">¶</a></h1>
97
+
<dlclass="class">
98
+
<dtid="celery.concurrency.threads.TaskPool">
99
+
<emclass="property">class </em><ttclass="descclassname">celery.concurrency.threads.</tt><ttclass="descname">TaskPool</tt><big>(</big><em>limit</em>, <em>logger=None</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#celery.concurrency.threads.TaskPool" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">on_ready</tt><big>(</big><em>callbacks</em>, <em>errbacks</em>, <em>ret_value</em><big>)</big><aclass="headerlink" href="#celery.concurrency.threads.TaskPool.on_ready" title="Permalink to this definition">¶</a></dt>
108
+
<dd><p>What to do when a worker task is ready and its return value has
<ttclass="descname">start</tt><big>(</big><big>)</big><aclass="headerlink" href="#celery.concurrency.threads.TaskPool.start" title="Permalink to this definition">¶</a></dt>
115
+
<dd></dd></dl>
116
+
117
+
<dlclass="method">
118
+
<dtid="celery.concurrency.threads.TaskPool.stop">
119
+
<ttclass="descname">stop</tt><big>(</big><big>)</big><aclass="headerlink" href="#celery.concurrency.threads.TaskPool.stop" title="Permalink to this definition">¶</a></dt>
120
+
<dd></dd></dl>
121
+
122
+
</dd></dl>
123
+
124
+
<dlclass="function">
125
+
<dtid="celery.concurrency.threads.do_work">
126
+
<ttclass="descclassname">celery.concurrency.threads.</tt><ttclass="descname">do_work</tt><big>(</big><em>target</em>, <em>args=()</em>, <em>kwargs={}</em>, <em>callback=None</em>, <em>accept_callback=None</em><big>)</big><aclass="headerlink" href="#celery.concurrency.threads.do_work" title="Permalink to this definition">¶</a></dt>
0 commit comments