Re: libct ct_connect thread_safe

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Thu, 15 Dec 2011 11:06:39 -0500
[email protected] (Christos Zoulas) wrote:

> | I have 2 threads each with their *own* connection to different
> | servers. The problem is
> | 
> | static SSL_CTX *ssl_ctx
> | 
> | inside net.c and the way it is being initialized.
> 
> This is easily fixed as follows... I added some othe minor fixes as a
> christmas bonus.

Thanks, Christos.  Applied to CVS HEAD.  Merry Christmas to you, too.  

IIUC the use-case here is two threads each opening its own connection.
That should work, yes.  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.