freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] dblib and thread safety
- Date: Tue, 14 Sep 2004 16:05:38 +0200
>
> Hi,
>
> I've been encountering some intermittent misbehaviour from dblib. In
> particular, it often occurs during system startup when performing a
> tdsdbopen().
>
> I've had a look at the code and I can not see how it could possibly
> be thread safe. In particular, due to the concurrent access that
> occurs within tdsdbopen() and a number of other functions, corruption
> of g_dblib_ctx is almost guaranteed.
>
> Will there be any objection from the maintainers should I
> submit a patch
> that puts mutexes (wrapped in #ifdefs) inside dblib? If not, is there
> a pre-processor variable already in use for thread-safety
> that I should
> use?
>
> Thanks.
I think you are right. Do you know a small and portable library to do
this job (using mutex) ??
freddy77
-
[freetds] dblib and thread safety,
liam, 09/14/2004
- <Possible follow-up(s)>
-
RE: [freetds] dblib and thread safety,
ZIGLIO, Frediano, VF-IT, 09/14/2004
- Re: [freetds] dblib and thread safety, liam, 09/15/2004
-
RE: [freetds] dblib and thread safety,
ZIGLIO, Frediano, VF-IT, 09/20/2004
-
Re: [freetds] dblib and thread safety,
liam, 09/21/2004
- Re: [freetds] dblib and thread safety, liam, 09/22/2004
-
Re: [freetds] dblib and thread safety,
liam, 09/21/2004
- RE: [freetds] dblib and thread safety, ZIGLIO, Frediano, VF-IT, 09/21/2004
-
RE: [freetds] dblib and thread safety,
ZIGLIO, Frediano, VF-IT, 09/22/2004
-
Re: [freetds] dblib and thread safety,
liam, 09/22/2004
-
Re: [freetds] dblib and thread safety,
Michael Peppler, 09/22/2004
- Re: [freetds] dblib and thread safety, liam, 09/22/2004
-
Re: [freetds] dblib and thread safety,
Michael Peppler, 09/22/2004
-
Re: [freetds] dblib and thread safety,
liam, 09/22/2004
- RE: [freetds] dblib and thread safety, Lowden, James K, 09/22/2004
Archive powered by MHonArc 2.6.24.