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 SummaryDec 18 2023 — Jan 17 2024
|
12 Month SummaryJan 17 2023 — Jan 17 2024
|