Skip to Content.
Sympa Menu

freetds - Re: [freetds] dblib and thread safety

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dblib and thread safety
  • Date: Wed, 22 Sep 2004 16:57:53 +0200

On Wed, 2004-09-22 at 16:50, liam AT inodes.org wrote:
> On Wed, Sep 22, 2004 at 09:23:37AM +0200, ZIGLIO, Frediano, VF-IT wrote:
>
> > I see. However tds_ctx it's referenced in TDSSOCKET and used (only for
> > reading) in all libTDS functions. So you have active readed structures
>
> Whether or not it's used for reading or writing is not relevant. The
> concern here is memory visibility, not mutual exclusion.

<various arguments snipped>

There's probably a reason why Sybase never attempted to make DBlibrary
thread-safe...

And why they have "normal" and _r versions of the Client Library and
Server library libs...

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html





Archive powered by MHonArc 2.6.24.

Top of Page