diff options
Diffstat (limited to 'pr/tests/servr_ku.c')
-rw-r--r-- | pr/tests/servr_ku.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pr/tests/servr_ku.c b/pr/tests/servr_ku.c index d785e201..25808516 100644 --- a/pr/tests/servr_ku.c +++ b/pr/tests/servr_ku.c @@ -63,7 +63,7 @@ #include <string.h> #define PORT 15004 -#define STACKSIZE 0 +#define THREAD_STACKSIZE 0 static int _iterations = 1000; static int _clients = 1; @@ -192,7 +192,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); @@ -292,7 +292,7 @@ ServerSetup(void) PR_PRIORITY_NORMAL, ServerScope, PR_UNJOINABLE_THREAD, - STACKSIZE); + THREAD_STACKSIZE); if (!WorkerThread) { if (debug_mode) printf("error creating working thread\n"); @@ -447,7 +447,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); @@ -478,7 +478,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; |