Author: rfm
Date: Tue Jan 27 15:56:39 2015
New Revision: 38303

URL: http://svn.gna.org/viewcvs/gnustep?rev=38303&view=rev
Log:
minor timeing tweaks documented

Modified:
    libs/ec/trunk/ECCL.h
    libs/ec/trunk/EcCommand.m

Modified: libs/ec/trunk/ECCL.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ECCL.h?rev=38303&r1=38302&r2=38303&view=diff
==============================================================================
--- libs/ec/trunk/ECCL.h        (original)
+++ libs/ec/trunk/ECCL.h        Tue Jan 27 15:56:39 2015
@@ -137,9 +137,15 @@
 
       <section>
         <heading>The Terminate command line tool</heading>
-        <p>The Terminate command line tool provides a mechanism to shut down
-          an ECCL host.  This tool contacts a Command server and tells it to
-          shut down all it's local client process and the shut itsself down.
+        <p>The Terminate command line tool provides a mechanism to shut
+          down an ECCL host.  This tool contacts a Command server and
+          tells it to shut down all it's local client process and then
+          shut itsself down.<br />
+          Each client of the Command server is given thirty seconds to
+          shut down gracefully, and if it has not shut down when this
+          period is over, the Command server is free to kill it.<br />
+          You can expect Command servers to have shut down within forty
+          seconds of the Terminate command being run.
         </p>
         <p>You may use '-CommandHost' and '-CommandName' to specify a Command
           server to contact, otherwise the default local Command server is

Modified: libs/ec/trunk/EcCommand.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcCommand.m?rev=38303&r1=38302&r2=38303&view=diff
==============================================================================
--- libs/ec/trunk/EcCommand.m   (original)
+++ libs/ec/trunk/EcCommand.m   Tue Jan 27 15:56:39 2015
@@ -2320,11 +2320,13 @@
       NSDate    *when;
 
 
-      /* We tell all connected clients to quit ... allow at most 30 seconds.
+      /* We tell all connected clients to quit ...
+       * clients are allowed 30 seconds to terminate
+       * (though we give them 35 to allow for delays).
        */
       a = [[clients mutableCopy] autorelease];
       i = [a count];
-      when = [NSDate dateWithTimeIntervalSinceNow: 30.0 - DLY];
+      when = [NSDate dateWithTimeIntervalSinceNow: 35.0 - DLY];
       while (i-- > 0)
        {
          EcClientI     *c = [a objectAtIndex: i];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to