refactored sharedarea read

This commit is contained in:
Unbit
2013-11-30 18:30:52 +00:00
parent 92b6c62cac
commit b934ac9588
6 changed files with 23 additions and 9 deletions
+6
View File
@@ -30,6 +30,12 @@
#define PYTHREE
#endif
#if (PY_VERSION_HEX < 0x02060000)
#ifndef Py_SIZE
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
#endif
#endif
#define UWSGI_GET_GIL up.gil_get();
#define UWSGI_RELEASE_GIL up.gil_release();