Skip to Content.
Sympa Menu

freetds - Re: About patch #582424 (thread safety)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: About patch #582424 (thread safety)
  • Date: Fri, 16 Aug 2002 07:08:22 -0400


Freddy,

Is != here right? You're testing for != "yes" and turning on the flags,
perhaps I'm missing something.

Cheers,

Brian

> Il gio, 2002-08-15 alle 16:22, Brian Bruns ha scritto:
> >
> > I think thread safety should default to off for the near term. There are
> > several broken implementations of gethostbyname_r() and other on some
> > platforms. They're old and you generally know if you have one. The
> > bigger reason is that I'd like to get some testing in on this on a larger
> > variety of platforms before turning it loose on the users at large.
> >
> > Brian
> >
>
> Changed to
>
> dnl Enable or disable thread safety
> AC_ARG_ENABLE(threadsafe,
> [ --enable-threadsafe compile for thread safetiness
> [default=no]])
> if test "$enable_threadsafe" != "yes" ; then
> CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE"
> fi
>
> seem right ?
>
> freddy77




Archive powered by MHonArc 2.6.24.

Top of Page