aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c/fastcgi.c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-02 14:31:37 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-02 14:31:37 -0400
commit18c72ec4eb9f53935a1a1d7145b919f8a8c8684e (patch)
tree8916c74bf31d44a9de1144f76b6a44a313520c21 /src/c/fastcgi.c
parent949fe8f9ce90257cd354c2d19d611cbcc3b569ef (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.c4
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;
}