diff options
author | Niels Thykier <niels@thykier.net> | 2017-06-26 16:47:18 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-06-26 17:20:36 +0000 |
commit | f2ad2942798596bb6bc3aabd7999c94cb836e2c7 (patch) | |
tree | 392fbe7d61f8e4e386dc03380bcea61c051edc6c | |
parent | 5086ca49a07599848492a277d8cbf505892749c0 (diff) | |
download | debhelper-f2ad2942798596bb6bc3aabd7999c94cb836e2c7.tar.gz |
doc/PROGRAMMING: Correct doc of on_items_in_parallel
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r-- | doc/PROGRAMMING | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 47f86aa6..c5627b35 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -360,11 +360,11 @@ log_installed_files($package, @paths) on_pkgs_in_parallel($code) - prototype: (&) Short hand for on_items_in_parallel with $dh{DOPACKAGES} as as list of packages. -on_items_in_parallel($pkg_list_ref, $code) - Splits all the packages in $pkg_list_ref into a number of groups +on_items_in_parallel($item_list_ref, $code) + Splits all the items in $item_list_ref into a number of groups based on the max parallel (as decided by DEB_BUILD_OPTIONS) A subprocess is forked for each group (minimum 1 process will be - forked) and each subprocess will be added a group of packages + forked) and each subprocess will be given a group of items to process. Each group is passed to the $code sub, which will then process it and return normally on success. Example: |