initial threading mode support

This commit is contained in:
roberto@mrspurr
2010-10-03 22:49:22 +02:00
parent 00a70c2ea2
commit 36c8a8c675
9 changed files with 156 additions and 89 deletions
+8
View File
@@ -460,6 +460,14 @@ inline struct wsgi_request *current_wsgi_req() {
void sanitize_args() {
if (uwsgi.async > 0) {
uwsgi.cores = uwsgi.async;
}
if (uwsgi.threads > 0) {
uwsgi.cores = uwsgi.threads;
}
#ifdef UWSGI_UGREEN
#ifdef UWSGI_THREADING
if (uwsgi.ugreen) {