[Lxml-checkins] r50180 - in lxml/trunk: . src/lxml
scoder at codespeak.net
scoder at codespeak.net
Sat Dec 29 20:10:43 CET 2007
Author: scoder
Date: Sat Dec 29 20:10:42 2007
New Revision: 50180
Modified:
lxml/trunk/ (props changed)
lxml/trunk/src/lxml/etree_defs.h
Log:
r3200 at delle: sbehnel | 2007-12-29 20:10:29 +0100
compilation without threading support adapted to code generated for 'with nogil' block
Modified: lxml/trunk/src/lxml/etree_defs.h
==============================================================================
--- lxml/trunk/src/lxml/etree_defs.h (original)
+++ lxml/trunk/src/lxml/etree_defs.h Sat Dec 29 20:10:42 2007
@@ -28,6 +28,10 @@
# define PyEval_RestoreThread(state)
# define PyGILState_Ensure() (PyGILState_UNLOCKED)
# define PyGILState_Release(state)
+# undef Py_UNBLOCK_THREADS
+# define Py_UNBLOCK_THREADS
+# undef Py_BLOCK_THREADS
+# define Py_BLOCK_THREADS
#endif
#ifdef WITHOUT_THREADING
More information about the lxml-checkins
mailing list