signal framework ported to gevent

This commit is contained in:
roberto@debian32
2011-08-27 07:15:44 +02:00
parent 3e867fe401
commit 5f5d382c64
5 changed files with 159 additions and 71 deletions
+1
View File
@@ -1213,6 +1213,7 @@ int uwsgi_python_signal_handler(uint8_t sig, void *handler) {
ret = python_call(handler, args, 0, NULL);
Py_DECREF(args);
if (ret) {
Py_DECREF(ret);
UWSGI_RELEASE_GIL;
return 0;
}
+2
View File
@@ -264,6 +264,8 @@ void uwsgi_python_reset_random_seed(void);
char *uwsgi_pythonize(char *);
#define uwsgi_pyexit {PyErr_Print();exit(1);}
#ifdef __linux__
#ifndef PYTHREE
int uwsgi_init_symbol_import(void);