apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_thread_proc.h
Date Thu, 27 Feb 2003 19:05:45 GMT
wrowe       2003/02/27 11:05:44

  Modified:    include  apr_thread_proc.h
  Log:
    Better documentation of what/how/where we deal with hproc, and note a real
    problem with toggling the char *invoked debugging value.
  
  Revision  Changes    Path
  1.94      +9 -2      apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_thread_proc.h,v
  retrieving revision 1.93
  retrieving revision 1.94
  diff -u -r1.93 -r1.94
  --- apr_thread_proc.h	24 Feb 2003 21:28:34 -0000	1.93
  +++ apr_thread_proc.h	27 Feb 2003 19:05:44 -0000	1.94
  @@ -170,12 +170,19 @@
   #if APR_HAS_PROC_INVOKED || defined(DOXYGEN)
       /** Diagnositics/debugging string of the command invoked for 
        *  this process [only present if APR_HAS_PROC_INVOKED is true]
  +     * @remark Only enabled on Win32 by default.
  +     * @bug This should either always or never be present in release
  +     * builds - since it breaks binary compatibility.  We may enable
  +     * it always in APR 1.0 yet leave it undefined in most cases.
        */
       char *invoked;
   #endif
   #if defined(WIN32) || defined(DOXYGEN)
  -    /** Win32 specific: Must retain the creator's handle granting 
  -     *  access, as a new copy may not grant the same permissions 
  +    /** (Win32 only) Creator's handle granting access to the process
  +     * @remark This handle is closed and reset to NULL in every case
  +     * corresponding to a waitpid() on Unix which returns the exit status.
  +     * Therefore Win32 correspond's to Unix's zombie reaping characteristics
  +     * and avoids potential handle leaks.
        */
       HANDLE hproc;
   #endif
  
  
  

Mime
View raw message