celery.concurrency.prefork
¶
Prefork execution pool.
Pool implementation using multiprocessing
.
- class celery.concurrency.prefork.TaskPool(limit=None, putlocks=True, forking_enable=True, callbacks_propagate=(), app=None, **options)[源代码]¶
Multiprocessing Pool implementation.
- BlockingPool¶
Pool
的别名
- Pool¶
AsynPool
的别名
- property num_processes¶
- uses_semaphore = True¶
only used by multiprocessing pool
- write_stats = None¶
- celery.concurrency.prefork.process_destructor(pid, exitcode)[源代码]¶
Pool child process destructor.
Dispatch the
worker_process_shutdown
signal.