Closed felipenoris closed 3 years ago
Given a valid Pool, is dpiPool_acquireConnection() thread-safe? Given a valid connection acquired from a Pool, is dpiConn_close() thread-safe?
dpiPool_acquireConnection()
dpiConn_close()
In a threaded environment set DPI_MODE_CREATE_THREADED in createMode E.g. https://github.com/oracle/python-cx_Oracle/blob/master/src/cxoSessionPool.c#L92
DPI_MODE_CREATE_THREADED
createMode
Thanks, @cjbj ! It worked like a charm!
Given a valid Pool, is
dpiPool_acquireConnection()
thread-safe? Given a valid connection acquired from a Pool, isdpiConn_close()
thread-safe?