threads support for perl

This commit is contained in:
roberto@sirius
2010-11-03 19:34:08 +01:00
parent 6f3fe261d0
commit 6f1f990f69
6 changed files with 136 additions and 57 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ void uwsgi_uwsgi_config(char *module) {
uwsgi_log("threads support enabled\n");
}
void uwsgi_python_init_thread() {
void uwsgi_python_init_thread(int core_id) {
// set a new ThreadState for each thread
PyThreadState *pts;