diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-08-02 14:31:37 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-08-02 14:31:37 -0400 |
commit | 18c72ec4eb9f53935a1a1d7145b919f8a8c8684e (patch) | |
tree | 8916c74bf31d44a9de1144f76b6a44a313520c21 /src/c/http.c | |
parent | 949fe8f9ce90257cd354c2d19d611cbcc3b569ef (diff) |
Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng)
Diffstat (limited to 'src/c/http.c')
-rw-r--r-- | src/c/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/http.c b/src/c/http.c index 4b2f0576..df9d3080 100644 --- a/src/c/http.c +++ b/src/c/http.c @@ -311,7 +311,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; } @@ -320,7 +320,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; } |