Signed-off-by: James Youngman <[EMAIL PROTECTED]>
---
 ChangeLog     |   17 +++++++++++++++--
 xargs/xargs.1 |    2 +-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 36f9e59..78de698 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,20 @@
 2008-12-06  John Gilmore  <[EMAIL PROTECTED]>
 
-       * xargs/xargs.c: Increase parallelism in mid-run with SIGUSR1;
-       decrease it with SIGUSR2.
+       Control the parallelism of xargs with SIGUSR1 and SIGUSR2.
+       * doc/find.texi (Controlling Parallelism): New section describing
+       xargs -P, SIGUSR1 and SIGUSR2.
+       * xargs/xargs.1 (OPTIONS): Mention runtime adjustability of
+       parallelism in the paragraph on the -P option.
+       (SEE ALSO): refer to kill(1) and signal(7).
+       * xargs/xargs.c (proc_max): Since this is touched by a signal
+       handler, change the type to sig_atomic_t and the storage class to
+       volatile. 
+       (increment_proc_max): Signal handler for SIGUSR1.
+       (decrement_proc_max): Signal handler for SIGUSR2.
+       (main): Install handlers for SIGUSR1 and SIGUSR2.
+       (wait_for_proc): If SIGUSR1 tells us that we now have an extra
+       free slot, continue to wait for other exited children, but don't
+       block.
        * doc/find.texi, xargs/xargs.1, NEWS: Document SIGUSR1/2.
 
 2008-11-08  James Youngman  <[EMAIL PROTECTED]>
diff --git a/xargs/xargs.1 b/xargs/xargs.1
index d840bf1..01e1635 100644
--- a/xargs/xargs.1
+++ b/xargs/xargs.1
@@ -412,7 +412,7 @@ current system.
 .SH "SEE ALSO"
 \fBfind\fP(1), \fBlocate\fP(1), \fBlocatedb\fP(5), \fBupdatedb\fP(1),
 \fBfork\fP(2), \fBexecvp\fP(3), 
-\fBkill\fP(1), \fBsignal\fP(2),
+\fBkill\fP(1), \fBsignal\fP(7),
 \fBFinding Files\fP (on-line in Info, or printed)
 .SH "BUGS"
 The
-- 
1.5.6.5



_______________________________________________
Findutils-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/findutils-patches

Reply via email to