This module implements a mechanism to limit the number of concurrent processes in a cooperative multiprocessing environment. This is an alternative to, for example, running several daemons.
Roughly speaking, a typical setup would be the following:
Cron starts a new process every minute.
The process attempts to get a lock as shown in synopsis.
If it obtains a lock, it starts working and exits when the work is done.
If not, "max_procs" processes are already working, so it exits.
Commercial Use
Modify
Distribute
Hold Liable
Use Trademarks
State Changes
These details are provided for information only. No information here is legal advice and should not be used as such.
30 Day SummaryApr 24 2025 — May 24 2025
|
12 Month SummaryMay 24 2024 — May 24 2025
|