[Zope-Checkins] CVS: Products/DCOracle2/src - dco2.c:1.95

Matthew T. Kromer matt@zope.com
Thu, 25 Oct 2001 08:44:43 -0400


Update of /cvs-repository/Products/DCOracle2/src
In directory cvs.zope.org:/tmp/cvs-serv12920/src

Modified Files:
	dco2.c 
Log Message:
Add begin/end threads around execute() Thanks to Fazal Majid for pointing
it out.


=== Products/DCOracle2/src/dco2.c 1.94 => 1.95 ===
 
 	TRACE(T_CALL,("sd","OCIStmtExecute",iters));
+
+	Py_BEGIN_ALLOW_THREADS
 	
 	status = OCIStmtExecute(self->sc->svchp, self->stmtp, self->sc->errhp,
 		iters, rowoff, NULL, NULL, OCI_DEFAULT);
+
+	Py_END_ALLOW_THREADS
 
 	TRACE(T_RETURN,("sR","OCIStmtExecute",status));