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 testprocmutex.c
Date Mon, 24 Sep 2001 05:37:28 GMT
rbb         01/09/23 22:37:28

  Modified:    test     testprocmutex.c
  Log:
  Default the lock to NULL, so that we can test the soon-to-be-committed
  apr_file_mktemp function.  Also, 160000 is too many iterations, this
  test was taking FAR too long to complete.
  
  Revision  Changes    Path
  1.4       +2 -2      apr/test/testprocmutex.c
  
  Index: testprocmutex.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testprocmutex.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- testprocmutex.c	2001/09/24 04:41:04	1.3
  +++ testprocmutex.c	2001/09/24 05:37:28	1.4
  @@ -66,7 +66,7 @@
   #include "test_apr.h"
   
   
  -#define MAX_ITER 40000
  +#define MAX_ITER 4000
   #define MAX_COUNTER (MAX_ITER * 4)
   
   apr_proc_mutex_t *proc_lock;
  @@ -146,7 +146,7 @@
   {
       apr_status_t rv;
       char errmsg[200];
  -    const char *lockname = "multi.lock";
  +    const char *lockname = NULL;
       const char *shmname = "shm.file";
       apr_getopt_t *opt;
       char optchar;
  
  
  

Mime
View raw message