]> granicus.if.org Git - php/commitdiff
add notes on this program
authorShane Caraveo <shane@php.net>
Mon, 8 Jan 2001 00:10:06 +0000 (00:10 +0000)
committerShane Caraveo <shane@php.net>
Mon, 8 Jan 2001 00:10:06 +0000 (00:10 +0000)
sapi/isapi/stresstest/notes.txt [new file with mode: 0644]
sapi/isapi/stresstest/stresstest.cpp

diff --git a/sapi/isapi/stresstest/notes.txt b/sapi/isapi/stresstest/notes.txt
new file mode 100644 (file)
index 0000000..e6388a0
--- /dev/null
@@ -0,0 +1,18 @@
+This stress test program is for debugging threading issues with the isapi module.
+
+Create a file that contains a list of php script files, one per line.  If you need to provide input, you can create an input file for each script file.  File contents would look like:
+
+e:\inetpub\pages\index.php
+e:\inetpub\pages\info.php
+e:\inetpub\pages\posttest.php e:\inetpub\pages\postdata.txt
+
+If you need to set special environement variables, in addition to your regular environment, create a file that contains them, one setting per line:
+
+MY_ENV_VAR=XXXXXXXX
+
+This can be used to simulate isapi environment variables if need be.
+
+By default, stress test uses 10 threads.  To change this, change the define NUM_THREADS in stresstest.cpp.
+
+This test program is a work in progress, no garauntees on it working right.
+
index dad651e62e354f7d80ab92cf5339d83fa4f3cc45..b9da7724207f4cbbc5757d3aed30aec1b48f9fd9 100644 (file)
@@ -57,7 +57,7 @@ char * MakeDateStr(VOID);
 char * GetEnv(char *);
 
 
-#define NUM_THREADS 1
+#define NUM_THREADS 10
 #define ITERATIONS 1
 HANDLE terminate[NUM_THREADS];
 HANDLE StartNow;