From 85ce956f28fd9715d1c943a9f02e5fdde00d2d01 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 2 Aug 2011 14:31:37 -0400 Subject: Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng) --- src/c/fastcgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c/fastcgi.c') diff --git a/src/c/fastcgi.c b/src/c/fastcgi.c index 161cb834..dcfdec78 100644 --- a/src/c/fastcgi.c +++ b/src/c/fastcgi.c @@ -569,7 +569,7 @@ int main(int argc, char *argv[]) { { pthread_t thread; - if (pthread_create(&thread, NULL, client_pruner, &ls)) { + if (pthread_create_big(&thread, NULL, client_pruner, &ls)) { fprintf(stderr, "Error creating pruner thread\n"); return 1; } @@ -578,7 +578,7 @@ int main(int argc, char *argv[]) { for (i = 0; i < nthreads; ++i) { pthread_t thread; names[i] = i; - if (pthread_create(&thread, NULL, worker, &names[i])) { + if (pthread_create_big(&thread, NULL, worker, &names[i])) { fprintf(stderr, "Error creating worker thread #%d\n", i); return 1; } -- cgit v1.2.3