[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH 2/3] Update ChangeLog entry to a greater leve

From: James Youngman
Subject: [Findutils-patches] [PATCH 2/3] Update ChangeLog entry to a greater level of verbosity; refer in the xargs manpage to signal(7) rather than signal(2)
Date: Sat, 6 Dec 2008 14:31:00 +0000

Signed-off-by: James Youngman <address@hidden>
 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  <address@hidden>
-       * 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  <address@hidden>
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.
 \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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]