summaryrefslogtreecommitdiff
path: root/pr/tests/server_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/server_test.c')
-rw-r--r--pr/tests/server_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pr/tests/server_test.c b/pr/tests/server_test.c
index 46c474b3..572fea46 100644
--- a/pr/tests/server_test.c
+++ b/pr/tests/server_test.c
@@ -61,7 +61,7 @@
#include <string.h>
#define PORT 15004
-#define STACKSIZE 0
+#define THREAD_STACKSIZE 0
#define PASS 0
#define FAIL 1
@@ -225,7 +225,7 @@ WorkerThreadFunc(void *_listenSock)
PR_PRIORITY_NORMAL,
ServerScope,
PR_UNJOINABLE_THREAD,
- STACKSIZE);
+ THREAD_STACKSIZE);
if (!WorkerThread)
if (debug_mode) printf("Error creating client thread %d\n", workerThreads);
@@ -314,7 +314,7 @@ ServerSetup(void)
PR_PRIORITY_NORMAL,
ServerScope,
PR_UNJOINABLE_THREAD,
- STACKSIZE);
+ THREAD_STACKSIZE);
if (!WorkerThread) {
if (debug_mode) printf("error creating working thread\n");
@@ -469,7 +469,7 @@ RunClients(void)
PR_PRIORITY_NORMAL,
ClientScope,
PR_UNJOINABLE_THREAD,
- STACKSIZE);
+ THREAD_STACKSIZE);
if (!clientThread) {
if (debug_mode) printf("\terror creating client thread %d\n", index);
@@ -500,7 +500,7 @@ void do_work()
PR_PRIORITY_NORMAL,
ServerScope,
PR_JOINABLE_THREAD,
- STACKSIZE);
+ THREAD_STACKSIZE);
if (!ServerThread) {
if (debug_mode) printf("error creating main server thread\n");
return;