Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 21050 invoked by uid 500); 24 Sep 2001 05:37:29 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 21035 invoked from network); 24 Sep 2001 05:37:29 -0000 Date: 24 Sep 2001 05:37:28 -0000 Message-ID: <20010924053728.69213.qmail@icarus.apache.org> From: rbb@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/test testprocmutex.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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;