[unixODBC-support] Locking in thread_protect() in libodbc.so

Nick Gorham nick.gorham at easysoft.com
Tue Dec 11 11:22:57 GMT 2007


Hu, Ming (Ivan) wrote:

>>Hi, guys,
>>
>>I am trying multiple(the number is 4) DSNs connections in my
>>mutlithread application. 
>>So, there are multiple ODBC connections per DSN in one thread and for
>>the same DSN, there is one ODBC connection per thread. 
>>
>>While currently, after some DB operations, several threads are locked
>>in thread_protect().
>>    
>>
Look back in the previous posts, there was a post detailing the use of 
the Threads= option in odbcinst,ini last week.

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-support mailing list