removed debug from real gil

This commit is contained in:
roberto@cable
2011-02-23 10:29:01 +01:00
parent 7f4f16e96a
commit 05be07aab4
-2
View File
@@ -4,13 +4,11 @@ extern struct uwsgi_server uwsgi;
extern struct uwsgi_python up;
void gil_real_get() {
uwsgi_log("*** REAL GIL ***\n");
PyEval_AcquireLock();
PyThreadState_Swap((PyThreadState *) pthread_getspecific(up.upt_gil_key));
}
void gil_real_release() {
uwsgi_log("*** REAL RELEASE ***\n");
pthread_setspecific(up.upt_gil_key, (void *) PyThreadState_Swap(NULL));
PyEval_ReleaseLock();
}