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 SummaryJul 23 2025 — Aug 22 2025
|
12 Month SummaryAug 22 2024 — Aug 22 2025
|