[cx-oracle-users] is SessionPool thread safe?
Brought to you by:
atuining
From: Forest W. <mo...@ti...> - 2005-09-12 21:14:02
|
I'm using cx_Oracle SessionPool objects in a threaded http server. Since I didn't see an explicit statement in the docs that SessionPool.acquire() and SessionPool.release() are thread safe, I'm currently synchronizing access to those methods with a threading.Condition object. Is this necessary? If SessionPool does its own method synchronization, I'll get rid of my wrapper class and perhaps get better performance. |