kazcw / jerbs

Command-line work-stealing scheduler.
GNU General Public License v3.0
1 stars 0 forks source link

task semaphores #2

Open kazcw opened 3 years ago

kazcw commented 3 years ago

create --limit N: for tasks created with this argument, take will not give out a job for a task when it has N or more jobs outstanding (taken AND (NOT log-finished) AND (NOT superceded))

The special case of --limit 1 would be particularly useful

kazcw commented 3 years ago

This makes sense to implement but I don't currently need it so it's low-priority