apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test tryread.c
Date Mon, 15 Mar 2004 16:07:34 GMT
rbb         2004/03/15 08:07:34

  Modified:    test     tryread.c
  Log:
  These instructions are wrong now, remove them.
  
  Revision  Changes    Path
  1.3       +0 -20     apr/test/tryread.c
  
  Index: tryread.c
  ===================================================================
  RCS file: /home/cvs/apr/test/tryread.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- tryread.c	15 Mar 2004 03:32:43 -0000	1.2
  +++ tryread.c	15 Mar 2004 16:07:34 -0000	1.3
  @@ -13,25 +13,6 @@
    * limitations under the License.
    */
   
  -/*
  - * USAGE
  - *
  - * Start one process, no args, and place it into the background. Start a
  - * second process with the "-r" switch to attempt a read on the file
  - * created by the first process.
  - *
  - * $ ./testflock &
  - * ...messages...
  - * $ ./testflock -r
  - * ...messages...
  - *
  - * The first process will sleep for 30 seconds while holding a lock. The
  - * second process will attempt to grab it (non-blocking) and fail. It
  - * will then grab it with a blocking scheme. When the first process' 30
  - * seconds are up, it will exit (thus releasing its lock). The second
  - * process will acquire the lock, then exit.
  - */
  -
   #include "testflock.h"
   #include "apr_pools.h"
   #include "apr_file_io.h"
  @@ -41,7 +22,6 @@
   #if APR_HAVE_STDLIB_H
   #include <stdlib.h>
   #endif
  -
   
   int main(int argc, const char * const *argv)
   {
  
  
  

Mime
View raw message