mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 13:11:33 +00:00
fixed a stupid bug with thread stacksize
This commit is contained in:
@@ -2569,7 +2569,7 @@ void uwsgi_ignition() {
|
||||
}
|
||||
for (i = 1; i < uwsgi.threads; i++) {
|
||||
long j = i;
|
||||
pthread_create(&uwsgi.core[i]->thread_id, NULL, zeromq_loop, (void *) j);
|
||||
pthread_create(&uwsgi.core[i]->thread_id, &uwsgi.threads_attr, zeromq_loop, (void *) j);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2587,7 +2587,7 @@ void uwsgi_ignition() {
|
||||
}
|
||||
for (i = 1; i < uwsgi.threads; i++) {
|
||||
long j = i;
|
||||
pthread_create(&uwsgi.core[i]->thread_id, NULL, simple_loop, (void *) j);
|
||||
pthread_create(&uwsgi.core[i]->thread_id, &uwsgi.threads_attr, simple_loop, (void *) j);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user