diff options
author | 2011-08-02 14:31:37 -0400 | |
---|---|---|
committer | 2011-08-02 14:31:37 -0400 | |
commit | 85ce956f28fd9715d1c943a9f02e5fdde00d2d01 (patch) | |
tree | 8916c74bf31d44a9de1144f76b6a44a313520c21 /src/c/fastcgi.c | |
parent | 236387604322b81260110f93be57762eac3ef20b (diff) |
Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng)
Diffstat (limited to 'src/c/fastcgi.c')
-rw-r--r-- | src/c/fastcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |